Very quick and hacky
More fully featured version in Python for PiTFT just released! 🎉 https://github.com/SavageCore/GP2040-Flasher-Pi/
Still planning to rewrite as a multiplatform app. 🏗️
Picotool and Linux are required.
Brief how-to:
- Place
99-rp2040-flash.rules
in/etc/udev/rules.d
and runsudo udevadm control --reload
- Create directory for script and firmwares
mkdir -p /home/pi/gp2040-flasher/firmware
- Place
flash.sh
in/home/pi/gp2040-flasher/
and make it executablechmod +x /home/pi/gp2040-flasher/flash.sh
- Add
flash_nuke.uf2
andGP2040-CE_0.7.2_RP2040AdvancedBreakoutBoard.uf2
to/home/pi/gp2040-flasher/firmware
- Insert a Pico whilst holding BOOTSEL
- Watch the log for output
tail -f /home/pi/gp2040-flasher/debug.log