From 075c3f8fe29c7aecd446c655a7fadb9e1999a31f Mon Sep 17 00:00:00 2001 From: Jens Hoffmann Date: Wed, 5 Mar 2014 22:49:14 +0100 Subject: [PATCH] cfg: Added st nucleo board configs. This patch adds board configs for Nucleo FXXX boards. Change-Id: I25bfd7d63f734bad710917efa67bc6096aa60ef8 Signed-off-by: Jens Hoffmann Reviewed-on: http://openocd.zylin.com/2022 Tested-by: jenkins Reviewed-by: Spencer Oliver --- contrib/99-openocd.rules | 3 +++ tcl/board/st_nucleo_f030r8.cfg | 9 +++++++++ tcl/board/st_nucleo_f103rb.cfg | 9 +++++++++ tcl/board/st_nucleo_f401re.cfg | 9 +++++++++ 4 files changed, 30 insertions(+) create mode 100644 tcl/board/st_nucleo_f030r8.cfg create mode 100644 tcl/board/st_nucleo_f103rb.cfg create mode 100644 tcl/board/st_nucleo_f401re.cfg diff --git a/contrib/99-openocd.rules b/contrib/99-openocd.rules index d2e86e1b..44ab9cc8 100644 --- a/contrib/99-openocd.rules +++ b/contrib/99-openocd.rules @@ -60,6 +60,9 @@ ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", MODE="664", GROUP="plugdev" # STLink v2 ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", MODE="664", GROUP="plugdev" +# STLink v2-1 +ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", MODE="664", GROUP="plugdev" + # Hilscher NXHX Boards ATTRS{idVendor}=="0640", ATTRS{idProduct}=="0028", MODE="664", GROUP="plugdev" diff --git a/tcl/board/st_nucleo_f030r8.cfg b/tcl/board/st_nucleo_f030r8.cfg new file mode 100644 index 00000000..5589c9c0 --- /dev/null +++ b/tcl/board/st_nucleo_f030r8.cfg @@ -0,0 +1,9 @@ +# This is an ST NUCLEO-F030R8 board with a single STM32F030R8T6 chip. +# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997 + +source [find interface/stlink-v2-1.cfg] + +source [find target/stm32f0x_stlink.cfg] + +# use hardware reset, connect under reset +reset_config srst_only srst_nogate diff --git a/tcl/board/st_nucleo_f103rb.cfg b/tcl/board/st_nucleo_f103rb.cfg new file mode 100644 index 00000000..8876db78 --- /dev/null +++ b/tcl/board/st_nucleo_f103rb.cfg @@ -0,0 +1,9 @@ +# This is an ST NUCLEO F103RB board with a single STM32F103RBT6 chip. +# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259875 + +source [find interface/stlink-v2-1.cfg] + +source [find target/stm32f1x_stlink.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 new file mode 100644 index 00000000..da84f143 --- /dev/null +++ b/tcl/board/st_nucleo_f401re.cfg @@ -0,0 +1,9 @@ +# 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] + +source [find target/stm32f4x_stlink.cfg] + +# use hardware reset, connect under reset +reset_config srst_only srst_nogate -- 2.39.5