summaryrefslogtreecommitdiff
path: root/openocd
diff options
context:
space:
mode:
Diffstat (limited to 'openocd')
-rw-r--r--openocd/openocd.stm32l4-disco.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/openocd/openocd.stm32l4-disco.cfg b/openocd/openocd.stm32l4-disco.cfg
new file mode 100644
index 0000000..fe6f340
--- /dev/null
+++ b/openocd/openocd.stm32l4-disco.cfg
@@ -0,0 +1,12 @@
+source [find interface/stlink-v2-1.cfg]
+source [find target/stm32l4x.cfg]
+
+# serial of my f072 disco board.
+hla_serial "066DFF495351885087171826"
+
+#tpiu config internal swodump.stm32l4-disco.log uart off 168000000
+
+# Uncomment to reset on connect, for grabbing under WFI et al
+#reset_config srst_only srst_nogate
+reset_config srst_only srst_nogate connect_assert_srst
+