flash-all.gdb 290 Bytes
Newer Older
1
2
3
4
source init.gdb

set confirm off

5
6
7
mon max32xxx mass_erase 0
mon max32xxx mass_erase 1

8
9
echo #### BOOTLOADER ####\n
load build/bootloader/bootloader.elf
10
11
12
13
14
15
echo #### EPICARDIUM ####\n
load build/epicardium/epicardium.elf
echo #### PYCARDIUM ####\n
load build/pycardium/pycardium.elf
reset
quit