summaryrefslogtreecommitdiff
path: root/openocd/openocd.stm32f072disco.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'openocd/openocd.stm32f072disco.cfg')
-rw-r--r--openocd/openocd.stm32f072disco.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/openocd/openocd.stm32f072disco.cfg b/openocd/openocd.stm32f072disco.cfg
new file mode 100644
index 0000000..b7cc25b
--- /dev/null
+++ b/openocd/openocd.stm32f072disco.cfg
@@ -0,0 +1,14 @@
+source [find interface/stlink-v2.cfg]
+set WORKAREASIZE 0x4000
+source [find target/stm32f0x.cfg]
+
+source openocd.common.cfg
+optional_local "openocd.stm32f072disco.local.cfg"
+
+# no trace on cm0
+#tpiu config internal swodump.stm32f4disco.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
+