]> git.sur5r.net Git - openocd/commitdiff
Add stm32f0x target
authorJonathan Dumaresq <jdumaresq@cimeq.qc.ca>
Tue, 7 Feb 2012 14:53:22 +0000 (09:53 -0500)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 16 Feb 2012 08:56:18 +0000 (08:56 +0000)
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>
tcl/target/stm32f0x_stlink.cfg [new file with mode: 0644]

diff --git a/tcl/target/stm32f0x_stlink.cfg b/tcl/target/stm32f0x_stlink.cfg
new file mode 100644 (file)
index 0000000..3a007d4
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# 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