cfg: add support for STM3220G-EVAL onboard STLINK
[fw/openocd] / tcl / board / stm3220g_eval_stlink.cfg
diff --git a/tcl/board/stm3220g_eval_stlink.cfg b/tcl/board/stm3220g_eval_stlink.cfg
new file mode 100644 (file)
index 0000000..6ac3751
--- /dev/null
@@ -0,0 +1,15 @@
+# STM3220G-EVAL: This is an STM32F2 eval board with a single STM32F207IGH6
+# (128KB) chip.
+# http://www.st.com/internet/evalboard/product/250374.jsp
+#
+# This is for using the onboard STLINK/V2
+
+source [find interface/stlink-v2.cfg]
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
+# chip name
+set CHIPNAME STM32F207IGH6
+
+source [find target/stm32f2x_stlink.cfg]