]> git.sur5r.net Git - openocd/commitdiff
stm32: Add config file for a new board STM32L052 dsicovery
authorRémi PRUD'HOMME <prudhomme.remi@gmail.com>
Wed, 24 Sep 2014 20:50:51 +0000 (22:50 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 6 Oct 2014 18:41:24 +0000 (18:41 +0000)
this board use STLink-V2-1, the STM32L1xx use the STLink-V2.

Change-Id: Ie58f45affcb1e9a6fed711b48c3c03b5035ab2b2
Signed-off-by: Rémi PRUD'HOMME <prudhomme.remi@gmail.com>
Reviewed-on: http://openocd.zylin.com/2317
Tested-by: jenkins
Reviewed-by: Andrey Yurovsky <yurovsky@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tcl/board/stm32l0discovery.cfg [new file with mode: 0755]

diff --git a/tcl/board/stm32l0discovery.cfg b/tcl/board/stm32l0discovery.cfg
new file mode 100755 (executable)
index 0000000..e1be9a8
--- /dev/null
@@ -0,0 +1,12 @@
+# This is an STM32L053 discovery board with a single STM32L053 chip.
+# http://www.st.com/web/en/catalog/tools/PF260319
+
+source [find interface/stlink-v2-1.cfg]
+
+transport select hla_swd
+
+set WORKAREASIZE 0x2000
+source [find target/stm32l.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate