diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-23 17:08:59 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-23 17:12:21 +0200 |
commit | 3061ecca3d0fdfb87dabbf5f63c9e06c2a30f53a (patch) | |
tree | ab49cc16ed0b853452c5c2ed2d3042416d628986 /code/temperature/.gdbinit | |
download | iot-sensors-3061ecca3d0fdfb87dabbf5f63c9e06c2a30f53a.tar.gz iot-sensors-3061ecca3d0fdfb87dabbf5f63c9e06c2a30f53a.tar.bz2 iot-sensors-3061ecca3d0fdfb87dabbf5f63c9e06c2a30f53a.tar.xz iot-sensors-3061ecca3d0fdfb87dabbf5f63c9e06c2a30f53a.zip |
Diffstat (limited to 'code/temperature/.gdbinit')
-rw-r--r-- | code/temperature/.gdbinit | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/code/temperature/.gdbinit b/code/temperature/.gdbinit new file mode 100644 index 0000000..b56184d --- /dev/null +++ b/code/temperature/.gdbinit @@ -0,0 +1,37 @@ +define target hookpost-remote + monitor reset + set remotetimeout 20 +end + +define target hookpost-extended-remote + monitor reset + set remotetimeout 20 +end + +define run_temp + monitor halt + + shell cd ../build; make -j4 temp + + set confirm off + file ../build/temp/temp + set confirm on + +# load + shell cd ../build; make -j4 temp-flash + continue +end + +set print array on +set print array-indexes + + +set confirm off +file ../build/temp/temp +set confirm on + +target extended-remote :3333 + +hb HardFault_Handler +hb main +disable 2 |