summaryrefslogtreecommitdiffstats
path: root/openocd.cfg
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2025-01-30 10:22:26 -0500
committerClyne Sullivan <clyne@bitgloo.com>2025-01-30 10:22:26 -0500
commitcc0a8af700cde714c78fa6d680342134d61d5994 (patch)
tree36a7ec7a74acc80d8a2214d7a3e2945fd7401aab /openocd.cfg
parent88b4db0c07d2d80c617493c004ee6ea2c5c33897 (diff)
update openocd script
fyi: use latest openocd for u0 support
Diffstat (limited to 'openocd.cfg')
-rw-r--r--openocd.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/openocd.cfg b/openocd.cfg
new file mode 100644
index 0000000..62f807b
--- /dev/null
+++ b/openocd.cfg
@@ -0,0 +1,6 @@
+source [find interface/stlink.cfg]
+transport select dapdirect_swd
+source [find target/stm32u0x.cfg]
+
+# Comment below to debug w/ gdb
+program build/microphone.hex verify reset exit