From 7dd50909e32296fc4ceff64d8443f5b9fa75bbca Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Fri, 21 Nov 2014 18:30:43 +0100 Subject: 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_f4.cfg | 14 ++++++++++++++ tcl/board/st_nucleo_f401re.cfg | 11 ----------- tcl/board/st_nucleo_f411re.cfg | 11 ----------- 3 files changed, 14 insertions(+), 22 deletions(-) create mode 100644 tcl/board/st_nucleo_f4.cfg delete mode 100644 tcl/board/st_nucleo_f401re.cfg delete mode 100644 tcl/board/st_nucleo_f411re.cfg (limited to 'tcl') diff --git a/tcl/board/st_nucleo_f4.cfg b/tcl/board/st_nucleo_f4.cfg new file mode 100644 index 00000000..84b4b53f --- /dev/null +++ b/tcl/board/st_nucleo_f4.cfg @@ -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 index 728a1555..00000000 --- a/tcl/board/st_nucleo_f401re.cfg +++ /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 index 1b5fb891..00000000 --- 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 -- cgit v1.2.3-18-g5258