diff --git a/TinyG2/platform/atmel_sam.gdb b/TinyG2/platform/atmel_sam.gdb index 8164d115..24d0a155 100644 --- a/TinyG2/platform/atmel_sam.gdb +++ b/TinyG2/platform/atmel_sam.gdb @@ -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