From 3061ecca3d0fdfb87dabbf5f63c9e06c2a30f53a Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 23 Aug 2018 17:08:59 +0200 Subject: o Initial import. --- code/temperature/.gdbinit | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 code/temperature/.gdbinit (limited to 'code/temperature/.gdbinit') 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 -- cgit v1.2.3