aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcl/target/stm32f0x_stlink.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/tcl/target/stm32f0x_stlink.cfg b/tcl/target/stm32f0x_stlink.cfg
new file mode 100644
index 0000000..3a007d4
--- /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