Added reset and flash commands to gdb setup.

This commit is contained in:
Rob Giseburt
2016-03-16 14:16:14 -05:00
parent f9b570847c
commit 28cfff1584
+15 -2
View File
@@ -22,6 +22,19 @@ set history expansion on
set print pretty on
# Halt the device
monitor reset halt
define boot_from_flash
monitor at91sam3 gpnvm set 1
end
define reset
boot_from_flash
monitor reset init
end
define flash
make
load
reset
end
reset