]> git.sur5r.net Git - openocd/commitdiff
board: consolidate st_nucleo_l4 boards
authorPushpal Sidhu <psidhu.devel@gmail.com>
Tue, 5 Dec 2017 17:36:17 +0000 (09:36 -0800)
committerTomas Vanek <vanekt@fbl.cz>
Sat, 13 Jan 2018 06:27:11 +0000 (06:27 +0000)
We can now use the generic stlink.cfg which allows for both ST-LINK/V2
and V2-1 debuggers.

Change-Id: I229c6fe5f6a6a4f2d3c787a49939846f102f9e24
Signed-off-by: Pushpal Sidhu <psidhu.devel@gmail.com>
Reviewed-on: http://openocd.zylin.com/4313
Tested-by: jenkins
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
tcl/board/st_nucleo_l4.cfg [new file with mode: 0644]
tcl/board/st_nucleo_l476rg.cfg [deleted file]

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
diff --git a/tcl/board/st_nucleo_l476rg.cfg b/tcl/board/st_nucleo_l476rg.cfg
deleted file mode 100644 (file)
index 4426c3b..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# This is a ST NUCLEO L476RG board with a single STM32L476RGT6 chip.
-# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF261636
-
-source [find interface/stlink.cfg]
-
-transport select hla_swd
-
-source [find target/stm32l4x.cfg]
-
-# use hardware reset
-reset_config srst_only srst_nogate
-