From: Uwe Bonnes Date: Thu, 11 Dec 2014 15:24:27 +0000 (+0100) Subject: Provide genuine F3 nucleo config and source it for STM32F334 Discovery board. X-Git-Tag: v0.9.0-rc1~115 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=be97da76abdba80a8e67d9c2e893bdbd32565887;p=openocd Provide genuine F3 nucleo config and source it for STM32F334 Discovery board. The F334 disco board has a stlink V.2-1 as F3 nucleo boards. Normal F3 disco boards use stlink v2 and can't ne used. Change-Id: I77ebef93b184592f25ff18bb2da776d636f60ff0 Signed-off-by: Uwe Bonnes Reviewed-on: http://openocd.zylin.com/2434 Tested-by: jenkins Reviewed-by: Paul Fertser --- diff --git a/tcl/board/st_nucleo_f3.cfg b/tcl/board/st_nucleo_f3.cfg new file mode 100644 index 00000000..9dffdcbb --- /dev/null +++ b/tcl/board/st_nucleo_f3.cfg @@ -0,0 +1,10 @@ +# This is an ST NUCLEO F334R8 board with a single STM32F334R8T6 chip. +# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260004 + +source [find interface/stlink-v2-1.cfg] + +transport select hla_swd + +source [find target/stm32f3x.cfg] + +reset_config srst_only diff --git a/tcl/board/st_nucleo_f334r8.cfg b/tcl/board/st_nucleo_f334r8.cfg deleted file mode 100644 index 9dffdcbb..00000000 --- a/tcl/board/st_nucleo_f334r8.cfg +++ /dev/null @@ -1,10 +0,0 @@ -# This is an ST NUCLEO F334R8 board with a single STM32F334R8T6 chip. -# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260004 - -source [find interface/stlink-v2-1.cfg] - -transport select hla_swd - -source [find target/stm32f3x.cfg] - -reset_config srst_only diff --git a/tcl/board/stm32f334discovery.cfg b/tcl/board/stm32f334discovery.cfg new file mode 100644 index 00000000..be817d71 --- /dev/null +++ b/tcl/board/stm32f334discovery.cfg @@ -0,0 +1,6 @@ +# This is an STM32F334 discovery board with a single STM32F334C8T6 chip. +# As it is one of the few boards with stlink V.2-1, we source the corresponding +# nucleo file. +# http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/LN1848/PF260318 + +source [find board/st_nucleo_f3.cfg]