aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtcl/board/stm32l0discovery.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/tcl/board/stm32l0discovery.cfg b/tcl/board/stm32l0discovery.cfg
new file mode 100755
index 0000000..e1be9a8
--- /dev/null
+++ b/tcl/board/stm32l0discovery.cfg
@@ -0,0 +1,12 @@
+# This is an STM32L053 discovery board with a single STM32L053 chip.
+# http://www.st.com/web/en/catalog/tools/PF260319
+
+source [find interface/stlink-v2-1.cfg]
+
+transport select hla_swd
+
+set WORKAREASIZE 0x2000
+source [find target/stm32l.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate