From: Uwe Bonnes Date: Fri, 21 Nov 2014 17:30:43 +0000 (+0100) Subject: stm32f4/nucleo: Use only one configuration for all stm32f4 nucleo boards. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=7dd50909e32296fc4ceff64d8443f5b9fa75bbca;p=fw%2Fopenocd 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 --- diff --git a/tcl/board/st_nucleo_f4.cfg b/tcl/board/st_nucleo_f4.cfg new file mode 100644 index 000000000..84b4b53f5 --- /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 728a15557..000000000 --- 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 1b5fb8919..000000000 --- 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