From: Pushpal Sidhu Date: Tue, 5 Dec 2017 17:36:17 +0000 (-0800) Subject: board: consolidate st_nucleo_l4 boards X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=133e01d2af2a27d4f04c19285a3d561c5cfc92d6;p=fw%2Fopenocd board: consolidate st_nucleo_l4 boards We can now use the generic stlink.cfg which allows for both ST-LINK/V2 and V2-1 debuggers. Change-Id: I229c6fe5f6a6a4f2d3c787a49939846f102f9e24 Signed-off-by: Pushpal Sidhu Reviewed-on: http://openocd.zylin.com/4313 Tested-by: jenkins Reviewed-by: Karl Palsson Reviewed-by: Tomas Vanek --- diff --git a/tcl/board/st_nucleo_l4.cfg b/tcl/board/st_nucleo_l4.cfg new file mode 100644 index 000000000..1ab9da9b4 --- /dev/null +++ b/tcl/board/st_nucleo_l4.cfg @@ -0,0 +1,11 @@ +# Should work with all STM32L4 Nucleo Dev Boards. +# http://www.st.com/en/evaluation-tools/stm32-mcu-nucleo.html + +source [find interface/stlink.cfg] + +transport select hla_swd + +source [find target/stm32l4x.cfg] + +# use hardware reset +reset_config srst_only srst_nogate diff --git a/tcl/board/st_nucleo_l476rg.cfg b/tcl/board/st_nucleo_l476rg.cfg deleted file mode 100644 index 4426c3bc9..000000000 --- a/tcl/board/st_nucleo_l476rg.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# This is a ST NUCLEO L476RG board with a single STM32L476RGT6 chip. -# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF261636 - -source [find interface/stlink.cfg] - -transport select hla_swd - -source [find target/stm32l4x.cfg] - -# use hardware reset -reset_config srst_only srst_nogate -