openocd/src/flash
Andreas Fritiofson 81b4ef6ee5 stm32f1x: fix bug in flash loader and restrict instruction set to armv6-m
Correct the offset to the read pointer when clearing it on error.

Also restrict the instruction set to armv6-m so the flash driver can be
used on Cortex-M0 parts with the same flash controller.

Change-Id: I380f9dabcc41fb6e4d43a7e02f355e2381913f39
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/399
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2012-01-30 20:01:42 +00:00
..
nand NAND: Misleading report of erased blocks 2012-01-23 11:47:06 +00:00
nor stm32f1x: fix bug in flash loader and restrict instruction set to armv6-m 2012-01-30 20:01:42 +00:00
ocl/at91sam7x change #include "ocl.h" to <flash/nor/ocl.h> 2009-12-03 04:24:49 -08:00
Makefile.am build: add common.mk 2010-11-18 14:05:56 +00:00
common.c -Wshadow fixes 2010-06-14 22:12:04 +02:00
common.h cfi: allow optional buffer write support 2010-12-10 13:36:09 +00:00
mflash.c cmd: add missing usage vars 2012-01-18 21:45:02 +00:00
mflash.h warnings: use more 'const' for char * 2010-12-29 22:07:39 +01:00
startup.tcl flash: add support for deprecated stm32 flash cmds 2011-07-28 12:47:49 +01:00