aboutsummaryrefslogtreecommitdiff
path: root/tcl/board/stm32l4discovery.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/board/stm32l4discovery.cfg')
-rw-r--r--tcl/board/stm32l4discovery.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/tcl/board/stm32l4discovery.cfg b/tcl/board/stm32l4discovery.cfg
new file mode 100644
index 00000000..eb193311
--- /dev/null
+++ b/tcl/board/stm32l4discovery.cfg
@@ -0,0 +1,13 @@
+# Explicitly for the STM32L476 discovery board:
+# http://www.st.com/web/en/catalog/tools/PF261635
+# but perfectly functional for any other STM32L4 board connected via
+# an stlink-v2-1 interface.
+# This is for STM32L4 boards that are connected via stlink-v2-1.
+
+source [find interface/stlink-v2-1.cfg]
+
+transport select hla_swd
+
+source [find target/stm32l4x.cfg]
+
+reset_config srst_only