From: Jonathan Dumaresq Date: Tue, 7 Feb 2012 14:53:22 +0000 (-0500) Subject: Add stm32f0x target X-Git-Tag: v0.6.0-rc1~237 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b0ef9cf1171c2decd6c12536b8ae61e64f8931b7;p=openocd Add stm32f0x target Change-Id: I4abfef4459b7e2780d17bdd7623fd1ef797cc8ea Signed-off-by: Jonathan Dumaresq Reviewed-on: http://openocd.zylin.com/437 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/tcl/target/stm32f0x_stlink.cfg b/tcl/target/stm32f0x_stlink.cfg new file mode 100644 index 00000000..3a007d41 --- /dev/null +++ b/tcl/target/stm32f0x_stlink.cfg @@ -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