aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/stm32f4x_stlink.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/stm32f4x_stlink.cfg')
-rw-r--r--tcl/target/stm32f4x_stlink.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/tcl/target/stm32f4x_stlink.cfg b/tcl/target/stm32f4x_stlink.cfg
new file mode 100644
index 00000000..ec5fb9e4
--- /dev/null
+++ b/tcl/target/stm32f4x_stlink.cfg
@@ -0,0 +1,13 @@
+#
+# STM32f4x stlink pseudo target
+#
+
+set CHIPNAME stm32f4x
+set CPUTAPID 0x2ba01477
+set WORKAREASIZE 0x10000
+
+source [find target/stm32_stlink.cfg]
+
+# stm32f4x family uses stm32f2x driver
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME