board: consolidate st_nucleo_l4 boards
[fw/openocd] / tcl / board / st_nucleo_l4.cfg
diff --git a/tcl/board/st_nucleo_l4.cfg b/tcl/board/st_nucleo_l4.cfg
new file mode 100644 (file)
index 0000000..1ab9da9
--- /dev/null
@@ -0,0 +1,11 @@
+# Should work with all STM32L4 Nucleo Dev Boards.
+# http://www.st.com/en/evaluation-tools/stm32-mcu-nucleo.html
+
+source [find interface/stlink.cfg]
+
+transport select hla_swd
+
+source [find target/stm32l4x.cfg]
+
+# use hardware reset
+reset_config srst_only srst_nogate