]> git.sur5r.net Git - openocd/commitdiff
tcl/board: Add ST NUCLEO L152RE configuration
authorThomas Eichinger <eicht@lepus.uberspace.de>
Thu, 22 Jan 2015 16:42:52 +0000 (17:42 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 26 Jan 2015 20:55:03 +0000 (20:55 +0000)
Added support for the ST nucleo l152re board with a stm32l152ret6 MCU,
analog to st_nucleo_f* configurations.

Change-Id: Id2c61dc7a7cb2e1cc64442191b367bab4247bdeb
Signed-off-by: Thomas Eichinger <eicht@lepus.uberspace.de>
Reviewed-on: http://openocd.zylin.com/2489
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tcl/board/st_nucleo_l1.cfg [new file with mode: 0644]

diff --git a/tcl/board/st_nucleo_l1.cfg b/tcl/board/st_nucleo_l1.cfg
new file mode 100644 (file)
index 0000000..56e2756
--- /dev/null
@@ -0,0 +1,10 @@
+# This is an ST NUCLEO L152RE board with a single STM32L152RET6 chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
+
+source [find interface/stlink-v2-1.cfg]
+
+transport select hla_swd
+
+source [find target/stm32l1.cfg]
+
+reset_config srst_only