A tool to download and flash Debian images on the board.
For a full guide on how to use it, see the User documentation.
Build it with task build and run:
# Flash the latest release of the Debian image
./build/arduino-flasher-cli flash latest
# Flash a local image. It works with either an archived or extracted image
./build/arduino-flasher-cli flash path/to/downloaded/imageflasher-cli embeds a statically builded qdl binary taken from the https://github.com/arduino/qdl-packing repo. To update the qdl version you need to:
-
Make sure the qdl-packing repo has the desired version of qdl (check the release page here) if not, create a PR to update it.
-
Update the
TAGvariable in scriptinternal/artifacts/download_resources.shto the desired version. -
Test that everything works by running
task clean buildand testing the resulting binary. -
Create a new release of flasher-cli, the build process will automatically download and embed the new qdl binary.