aboutsummaryrefslogtreecommitdiff
path: root/Debug/openocd.gdbinit
diff options
context:
space:
mode:
authorKevin Hester <kevinh@geeksville.com>2013-08-11 11:34:19 -1000
committerLorenz Meier <lm@inf.ethz.ch>2013-08-21 15:01:51 +0200
commitf665ace38cfa4613fb911cb68f6662b15720ffea (patch)
tree73a1704094e020bd4c6ccb8c76ce6d868df2fc70 /Debug/openocd.gdbinit
parent2bcf4385f66b2bcdb2917d2edf60d40813e207df (diff)
downloadpx4-firmware-f665ace38cfa4613fb911cb68f6662b15720ffea.tar.gz
px4-firmware-f665ace38cfa4613fb911cb68f6662b15720ffea.tar.bz2
px4-firmware-f665ace38cfa4613fb911cb68f6662b15720ffea.zip
Add scripts for debugging with openocd
Note: We now use the version of stm32f4x that comes with openocd 0.7.0 or later
Diffstat (limited to 'Debug/openocd.gdbinit')
-rw-r--r--Debug/openocd.gdbinit7
1 files changed, 7 insertions, 0 deletions
diff --git a/Debug/openocd.gdbinit b/Debug/openocd.gdbinit
new file mode 100644
index 000000000..4d2dc4c86
--- /dev/null
+++ b/Debug/openocd.gdbinit
@@ -0,0 +1,7 @@
+target remote :3333
+mon reset halt
+mon poll
+mon cortex_m maskisr auto
+set mem inaccessible-by-default off
+set print pretty
+source Debug/PX4 \ No newline at end of file