summaryrefslogtreecommitdiff
path: root/openocd/openocd.stm32f3-disco.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'openocd/openocd.stm32f3-disco.cfg')
-rw-r--r--openocd/openocd.stm32f3-disco.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/openocd/openocd.stm32f3-disco.cfg b/openocd/openocd.stm32f3-disco.cfg
new file mode 100644
index 0000000..066c12a
--- /dev/null
+++ b/openocd/openocd.stm32f3-disco.cfg
@@ -0,0 +1,13 @@
+source [find interface/stlink-v2.cfg]
+set WORKAREASIZE 0x4000
+source [find target/stm32f3x.cfg]
+
+# serial of my f3 disco board.
+hla_serial "S?n\x06gePQ6G\x10?"
+
+tpiu config internal swodump.stm32f3-disco.log uart off 72000000
+
+# 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
+