micropython-stubber
micropython-stubber copied to clipboard
MPFlash: implement erase for RPI_PICO and other boards
for the rpi_picos / rp2040 it should be possible to use the nuke_pico_foo_bar.uf2 files
-
- activate bootloader
-
- copy the correct nuke_pic.uf2 file
-
- wait foor reboot / re-bootloader
-
- flash the new firmware
different boards have different nuke_pico files with different addresses / flash sizes See: https://github.com/polhenarejos/pico-nuke/blob/main/build_pico_nuke.sh
other .UF2 boards - to be defined