boards: adi: Add erase command for max32xxx boards
This commit enable erase command for max32xxx/max78xxx boards.
Erase command shall be passed to west flash as below
west flash --erase
Console output will like:
......
[max32xxx.cpu] halted due to breakpoint, current mode: Thread
xPSR: 0x01000000 pc: 0x000001b4 msp: 0x20004000
max32xxx mass erase complete
wrote XXXX bytes from file YYYY
Enable debug to connect in low-power mode
shutdown command invoked
Signed-off-by:
Sadik Ozer <sadik.ozer@analog.com>
Loading
Please sign in to comment