dhrosa / circuitpython_tool

Command-line tool for interacting with CircuitPython devices
MIT License
2 stars 0 forks source link

Add command to flash UF2 image onto board #2

Closed dhrosa closed 7 months ago

dhrosa commented 8 months ago

I only work with RP2040-based boards, so I'm only familiar with how the UF2 image flashing works on those.

When the bootloader is active the board presents a drive with the label "RPI-RP2".

We can search for boards with that label and add a 'uf2' subcommand to flash an image onto the board.

dhrosa commented 7 months ago

This now exists as 'uf2 install'