aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/GPT/openocd.cfg
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-07-24 15:14:50 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-07-24 15:14:50 +0000
commit10693865c9b707c680041f18ae602a64f3514071 (patch)
tree9e18eabfce8a75c6af72895b795a6838da707203 /testhal/STM32F1xx/GPT/openocd.cfg
parent3602b6e67dbae804da81736550b21a0ddb159c0a (diff)
downloadChibiOS-10693865c9b707c680041f18ae602a64f3514071.tar.gz
ChibiOS-10693865c9b707c680041f18ae602a64f3514071.tar.bz2
ChibiOS-10693865c9b707c680041f18ae602a64f3514071.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3177 35acf78f-673a-0410-8e92-d51de3d6d3f4
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]