Josverl / micropython-stubber

Generate and maintain stubs for different MicroPython ports to use with VSCode and Pylance, PyRight, Thonny, PyCharm or pylint
https://micropython-stubber.readthedocs.io
Other
166 stars 14 forks source link

MPFlash: implement erase for RPI_PICO and other boards #589

Open Josverl opened 1 week ago

Josverl commented 1 week ago

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