From: Uwe Bonnes Date: Fri, 21 Nov 2014 17:18:51 +0000 (+0100) Subject: stm32f0/nucleo: Use only one configuration for all stm32f0 nucleo boards. X-Git-Tag: v0.9.0-rc1~188 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ded2b293f4736283d2f0e56cabc267491cee0c5d;p=openocd stm32f0/nucleo: Use only one configuration for all stm32f0 nucleo boards. Change-Id: Ib2ddcd7a92c0d7ad503ef8e953f2bc304241a9f0 Signed-off-by: Uwe Bonnes Reviewed-on: http://openocd.zylin.com/2396 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/tcl/board/st_nucleo_f0.cfg b/tcl/board/st_nucleo_f0.cfg new file mode 100644 index 00000000..0cd75b60 --- /dev/null +++ b/tcl/board/st_nucleo_f0.cfg @@ -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 index 5e1233f9..00000000 --- a/tcl/board/st_nucleo_f030r8.cfg +++ /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