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.rulesin/etc/udev/rules.dand runsudo udevadm control --reload - Create directory for script and firmwares
mkdir -p /home/pi/gp2040-flasher/firmware - Place
flash.shin/home/pi/gp2040-flasher/and make it executablechmod +x /home/pi/gp2040-flasher/flash.sh - Add
flash_nuke.uf2andGP2040-CE_0.7.2_RP2040AdvancedBreakoutBoard.uf2to/home/pi/gp2040-flasher/firmware - Insert a Pico whilst holding BOOTSEL
- Watch the log for output
tail -f /home/pi/gp2040-flasher/debug.log