aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorJens Hoffmann <jehoffma@gmail.com>2014-03-05 22:49:14 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2014-03-17 17:05:37 +0000
commit075c3f8fe29c7aecd446c655a7fadb9e1999a31f (patch)
tree45200c52e249ba386ccd0a2afbcfe1b8a8fda591 /tcl
parent3201a104fe198fc40f515a99ea56621f90302e2b (diff)
downloadriscv-openocd-075c3f8fe29c7aecd446c655a7fadb9e1999a31f.zip
riscv-openocd-075c3f8fe29c7aecd446c655a7fadb9e1999a31f.tar.gz
riscv-openocd-075c3f8fe29c7aecd446c655a7fadb9e1999a31f.tar.bz2
cfg: Added st nucleo board configs.
This patch adds board configs for Nucleo FXXX boards. Change-Id: I25bfd7d63f734bad710917efa67bc6096aa60ef8 Signed-off-by: Jens Hoffmann <jehoffma@gmail.com> Reviewed-on: http://openocd.zylin.com/2022 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/st_nucleo_f030r8.cfg9
-rw-r--r--tcl/board/st_nucleo_f103rb.cfg9
-rw-r--r--tcl/board/st_nucleo_f401re.cfg9
3 files changed, 27 insertions, 0 deletions
diff --git a/tcl/board/st_nucleo_f030r8.cfg b/tcl/board/st_nucleo_f030r8.cfg
new file mode 100644
index 0000000..5589c9c
--- /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 0000000..8876db7
--- /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 0000000..da84f14
--- /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