Change-Id: I4abfef4459b7e2780d17bdd7623fd1ef797cc8ea
Signed-off-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
Reviewed-on: http://openocd.zylin.com/437
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
--- /dev/null
+#
+# STM32f1x stlink pseudo target
+#
+
+set CHIPNAME stm32f0x
+set CPUTAPID 0x0BB11477
+set WORKAREASIZE 0x400
+
+source [find target/stm32_stlink.cfg]
+
+# stm32f0x family uses stm32f1x driver
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME stm32f1x 0 0 0 0 $_TARGETNAME