aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorFreddie Chopin <freddie.chopin@gmail.com>2016-01-21 11:19:41 +0100
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-02-14 19:58:42 +0000
commit50d4f76e13674190f1ab730f5718b8c4c0f8ca41 (patch)
tree5c296beb843d58c4068788775dd5c4f817639168 /tcl/board
parent11a37ee80880d996cd0cb53a8f2ea86f31e1e11f (diff)
Add board config for ST NUCLEO L476RG board
The file was contributed by Sébastien Lorquet. Change-Id: I118f5b16181488b9e3327891e6130b908419f1c4 Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on: http://openocd.zylin.com/3214 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/st_nucleo_l476rg.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/tcl/board/st_nucleo_l476rg.cfg b/tcl/board/st_nucleo_l476rg.cfg
new file mode 100644
index 00000000..2baa34e7
--- /dev/null
+++ b/tcl/board/st_nucleo_l476rg.cfg
@@ -0,0 +1,12 @@
+# 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-v2-1.cfg]
+
+transport select hla_swd
+
+source [find target/stm32l4x.cfg]
+
+# use hardware reset
+reset_config srst_only srst_nogate
+