aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-05-03 16:09:09 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2012-05-14 09:32:03 +0000
commita09bb27e236b1bc1fc824c0e6e8e7c89f4a7db8b (patch)
tree58f7ec42896deac20645768632581f9db128d4af /tcl
parentd469c686d9c4aaef7dc0ff8376142b8fdd6d1dbd (diff)
downloadriscv-openocd-a09bb27e236b1bc1fc824c0e6e8e7c89f4a7db8b.zip
riscv-openocd-a09bb27e236b1bc1fc824c0e6e8e7c89f4a7db8b.tar.gz
riscv-openocd-a09bb27e236b1bc1fc824c0e6e8e7c89f4a7db8b.tar.bz2
cfg: add stm320518-eval onboard stlink config
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>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/stm320518_eval_stlink.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/tcl/board/stm320518_eval_stlink.cfg b/tcl/board/stm320518_eval_stlink.cfg
new file mode 100644
index 0000000..a832984
--- /dev/null
+++ b/tcl/board/stm320518_eval_stlink.cfg
@@ -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]