aboutsummaryrefslogtreecommitdiff
path: root/driver_fw/openocd.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'driver_fw/openocd.cfg')
-rw-r--r--driver_fw/openocd.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/driver_fw/openocd.cfg b/driver_fw/openocd.cfg
new file mode 100644
index 0000000..f8b4766
--- /dev/null
+++ b/driver_fw/openocd.cfg
@@ -0,0 +1,14 @@
+telnet_port 4444
+gdb_port 3333
+
+source [find interface/stlink-v2.cfg]
+#hla_serial "000000000001"
+transport select hla_swd
+
+source [find target/stm32f1x.cfg]
+#adapter_khz 10000
+
+init
+arm semihosting enable
+
+#flash bank sysflash.alias stm32f0x 0x00000000 0 0 0 $_TARGETNAME