]> git.sur5r.net Git - openocd/commitdiff
Add board config for ST NUCLEO L476RG board
authorFreddie Chopin <freddie.chopin@gmail.com>
Thu, 21 Jan 2016 10:19:41 +0000 (11:19 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 14 Feb 2016 19:58:42 +0000 (19:58 +0000)
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>
tcl/board/st_nucleo_l476rg.cfg [new file with mode: 0644]

diff --git a/tcl/board/st_nucleo_l476rg.cfg b/tcl/board/st_nucleo_l476rg.cfg
new file mode 100644 (file)
index 0000000..2baa34e
--- /dev/null
@@ -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
+