summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-04-29 23:10:32 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-04-29 23:10:32 +0200
commit89d464c7f38b902e332f082f99df075dee080978 (patch)
tree603750026d3fa12b2db7fa19abb8cdc079c5d3be /.gdbinit
parent4c159924abc0ad027166fe8853d062ed0a46481e (diff)
downloadradio-controller-89d464c7f38b902e332f082f99df075dee080978.tar.gz
radio-controller-89d464c7f38b902e332f082f99df075dee080978.tar.bz2
radio-controller-89d464c7f38b902e332f082f99df075dee080978.tar.xz
radio-controller-89d464c7f38b902e332f082f99df075dee080978.zip
o Setting up for TIM1/Channel 1 as input capture. Enabling IWDG.
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit26
1 files changed, 26 insertions, 0 deletions
diff --git a/.gdbinit b/.gdbinit
new file mode 100644
index 0000000..e2ea19a
--- /dev/null
+++ b/.gdbinit
@@ -0,0 +1,26 @@
+define target hookpost-remote
+ monitor arm semihosting enable
+ monitor reset halt
+ set remotetimeout 10
+end
+
+define target hookpost-extended-remote
+ monitor arm semihosting enable
+ monitor reset halt
+ set remotetimeout 10
+end
+
+define run_firmware
+ make -C build firmware
+
+ monitor reset halt
+
+ set confirm off
+ file build/firmware
+ set confirm on
+
+ load
+ continue
+end
+
+target extended-remote :3333