2010-08-08 04:14:52 +00:00
|
|
|
define connect
|
|
|
|
target remote localhost:3333
|
|
|
|
monitor cortex_m3 vector_catch all
|
2011-07-12 11:41:21 -05:00
|
|
|
file ./build/fw_openpilot/fw_openpilot.elf
|
2010-08-08 04:14:52 +00:00
|
|
|
end
|
|
|
|
#monitor reset halt
|
2010-05-14 04:32:17 +00:00
|
|
|
|
|
|
|
define hook-step
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
define hookpost-step
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|
2010-05-18 04:50:36 +00:00
|
|
|
define hook-stepi
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
|
|
|
|
define hookpost-stepi
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|
2010-05-14 04:32:17 +00:00
|
|
|
define hook-next
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
|
|
|
|
define hookpost-next
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|
|
|
|
define hook-finish
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
|
|
|
|
define hookpost-finish
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|