aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/GPT/openocd.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F1xx/GPT/openocd.cfg')
-rw-r--r--testhal/STM32F1xx/GPT/openocd.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/testhal/STM32F1xx/GPT/openocd.cfg b/testhal/STM32F1xx/GPT/openocd.cfg
new file mode 100644
index 000000000..f40febe66
--- /dev/null
+++ b/testhal/STM32F1xx/GPT/openocd.cfg
@@ -0,0 +1,13 @@
+#daemon configuration
+telnet_port 4444
+gdb_port 3333
+
+# GDB can also flash my flash!
+gdb_memory_map enable
+gdb_flash_program enable
+gdb_breakpoint_override hard
+
+set WORKAREASIZE 0x5000
+
+source [find interface/olimex-arm-usb-ocd.cfg]
+source [find target/stm32.cfg]