]> www.infradead.org Git - users/borneoa/openocd-next.git/commitdiff
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 [moved from tcl/board/st_nucleo_f401re.cfg with 58% similarity]
tcl/board/st_nucleo_f411re.cfg [deleted file]

similarity index 58%
rename from tcl/board/st_nucleo_f401re.cfg
rename to tcl/board/st_nucleo_f4.cfg
index 728a155578cb6342a4a6fcc2373401558ca17224..84b4b53f584b33f9d1f9c7f914f18277261b0539 100644 (file)
@@ -1,5 +1,8 @@
-# This is an ST NUCLEO F401RE board with a single STM32F401RET6 chip.
+# 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]
 
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