stm32f4/nucleo: Use only one configuration for all stm32f4 nucleo boards.
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Fri, 21 Nov 2014 17:30:43 +0000 (18:30 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 26 Jan 2015 20:54:30 +0000 (20:54 +0000)
Change-Id: Ic3d0b47b19dae9cb09c11d24f16fea85a1b90c0b
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-on: http://openocd.zylin.com/2397
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tcl/board/st_nucleo_f4.cfg [new file with mode: 0644]
tcl/board/st_nucleo_f401re.cfg [deleted file]
tcl/board/st_nucleo_f411re.cfg [deleted file]

diff --git a/tcl/board/st_nucleo_f4.cfg b/tcl/board/st_nucleo_f4.cfg
new file mode 100644 (file)
index 0000000..84b4b53
--- /dev/null
@@ -0,0 +1,14 @@
+# This is for all ST NUCLEO with any STM32F. Know Boards at the moment:
+# STM32F401RET6
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260000
+# STM32F411RET6
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260320
+
+source [find interface/stlink-v2-1.cfg]
+
+transport select hla_swd
+
+source [find target/stm32f4x.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
diff --git a/tcl/board/st_nucleo_f401re.cfg b/tcl/board/st_nucleo_f401re.cfg
deleted file mode 100644 (file)
index 728a155..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# This is an ST NUCLEO F401RE board with a single STM32F401RET6 chip.
-# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260000
-
-source [find interface/stlink-v2-1.cfg]
-
-transport select hla_swd
-
-source [find target/stm32f4x.cfg]
-
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate
diff --git a/tcl/board/st_nucleo_f411re.cfg b/tcl/board/st_nucleo_f411re.cfg
deleted file mode 100644 (file)
index 1b5fb89..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# This is an ST NUCLEO F411RE board with a single STM32F411RET6 chip.
-# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260320
-
-source [find interface/stlink-v2-1.cfg]
-
-transport select hla_swd
-
-source [find target/stm32f4x.cfg]
-
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate