riscv-openocd/contrib/loaders/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
..
armv4_5_cfi_intel_8.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_intel_16.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_intel_32.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_span_8.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_span_16.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_span_16_dq7.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_span_32.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv7m_cfi_span_16.s loader: update loader src for armv7-m arch 2011-01-06 10:35:02 +00:00
pic32mx.s contrib: make sure loaders use correct arch 2010-12-10 13:42:29 +00:00
stellaris.s contrib: add ram loader src code 2010-10-28 09:19:37 +01:00
stm32f1x.S stm32f1x: fix bug in flash loader and restrict instruction set to armv6-m 2012-01-30 20:01:42 +00:00
stm32f2x.S contrib: stm32f2x use std naming rules 2011-11-17 22:48:52 +00:00
stm32lx.S STM32L: Added flash driver and target 2011-10-03 18:42:39 +02:00
str7x.s contrib: make sure loaders use correct arch 2010-12-10 13:42:29 +00:00
str9x.s contrib: make sure loaders use correct arch 2010-12-10 13:42:29 +00:00