summaryrefslogtreecommitdiff
path: root/firmware/openocd.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/openocd.cfg')
-rw-r--r--firmware/openocd.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/openocd.cfg b/firmware/openocd.cfg
new file mode 100644
index 0000000..fcbeb8d
--- /dev/null
+++ b/firmware/openocd.cfg
@@ -0,0 +1,12 @@
+telnet_port 4444
+gdb_port 3333
+
+interface jlink
+#adapter_khz 10000
+transport select swd
+
+# source /usr/share/openocd/scripts/target/stm32f0x.cfg
+# source [find interface/jlink.cfg]
+source [find target/stm32f0x.cfg]
+
+#flash bank sysflash.alias stm32f0x 0x00000000 0 0 0 $_TARGETNAME