]> git.sur5r.net Git - openocd/commitdiff
stm32f0/nucleo: Use only one configuration for all stm32f0 nucleo boards.
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Fri, 21 Nov 2014 17:18:51 +0000 (18:18 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 26 Jan 2015 20:54:21 +0000 (20:54 +0000)
Change-Id: Ib2ddcd7a92c0d7ad503ef8e953f2bc304241a9f0
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-on: http://openocd.zylin.com/2396
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tcl/board/st_nucleo_f0.cfg [new file with mode: 0644]
tcl/board/st_nucleo_f030r8.cfg [deleted file]

diff --git a/tcl/board/st_nucleo_f0.cfg b/tcl/board/st_nucleo_f0.cfg
new file mode 100644 (file)
index 0000000..0cd75b6
--- /dev/null
@@ -0,0 +1,16 @@
+# This is for all ST NUCLEO with any STM32F0. Know Boards at the moment:
+# STM32F030R8
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997
+# NUCLEO-F072RB
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997
+# STM32F091RC
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260944
+
+source [find interface/stlink-v2-1.cfg]
+
+transport select hla_swd
+
+source [find target/stm32f0x.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
diff --git a/tcl/board/st_nucleo_f030r8.cfg b/tcl/board/st_nucleo_f030r8.cfg
deleted file mode 100644 (file)
index 5e1233f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# This is an ST NUCLEO-F030R8 board with a single STM32F030R8T6 chip.
-# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997
-
-source [find interface/stlink-v2-1.cfg]
-
-transport select hla_swd
-
-source [find target/stm32f0x.cfg]
-
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate