From 7dd50909e32296fc4ceff64d8443f5b9fa75bbca Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Fri, 21 Nov 2014 18:30:43 +0100 Subject: [PATCH] stm32f4/nucleo: Use only one configuration for all stm32f4 nucleo boards. Change-Id: Ic3d0b47b19dae9cb09c11d24f16fea85a1b90c0b Signed-off-by: Uwe Bonnes Reviewed-on: http://openocd.zylin.com/2397 Tested-by: jenkins Reviewed-by: Spencer Oliver --- tcl/board/{st_nucleo_f401re.cfg => st_nucleo_f4.cfg} | 5 ++++- tcl/board/st_nucleo_f411re.cfg | 11 ----------- 2 files changed, 4 insertions(+), 12 deletions(-) rename tcl/board/{st_nucleo_f401re.cfg => st_nucleo_f4.cfg} (58%) delete mode 100644 tcl/board/st_nucleo_f411re.cfg diff --git a/tcl/board/st_nucleo_f401re.cfg b/tcl/board/st_nucleo_f4.cfg similarity index 58% rename from tcl/board/st_nucleo_f401re.cfg rename to tcl/board/st_nucleo_f4.cfg index 728a155578..84b4b53f58 100644 --- a/tcl/board/st_nucleo_f401re.cfg +++ b/tcl/board/st_nucleo_f4.cfg @@ -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 index 1b5fb8919a..0000000000 --- a/tcl/board/st_nucleo_f411re.cfg +++ /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 -- 2.30.2