]> git.sur5r.net Git - openocd/commitdiff
cfg: add stm320518-eval onboard stlink config
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 3 May 2012 15:09:09 +0000 (16:09 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 14 May 2012 09:32:03 +0000 (09:32 +0000)
Change-Id: Ie92a87ce077c538fdd04af37c798e0a8054b423a
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/610
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
tcl/board/stm320518_eval_stlink.cfg [new file with mode: 0644]

diff --git a/tcl/board/stm320518_eval_stlink.cfg b/tcl/board/stm320518_eval_stlink.cfg
new file mode 100644 (file)
index 0000000..a832984
--- /dev/null
@@ -0,0 +1,15 @@
+# STM320518-EVAL: This is an STM32F0 eval board with a single STM32F051R8T6
+# (64KB) chip.
+# http://www.st.com/internet/evalboard/product/252994.jsp
+#
+# This is for using the onboard STLINK/V2
+
+source [find interface/stlink-v2.cfg]
+
+# increase working area to 8KB
+set WORKAREASIZE 0x2000
+
+# chip name
+set CHIPNAME STM32F051R8T6
+
+source [find target/stm32f0x_stlink.cfg]