From b0ef9cf1171c2decd6c12536b8ae61e64f8931b7 Mon Sep 17 00:00:00 2001 From: Jonathan Dumaresq Date: Tue, 7 Feb 2012 09:53:22 -0500 Subject: [PATCH] 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 --- tcl/target/stm32f0x_stlink.cfg | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tcl/target/stm32f0x_stlink.cfg 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 -- 2.39.5