Highlights
CLI
- Support for the 32GB UNO Q. The flasher now reads the board's partition table to detect how much storage it actually has, and sizes the root partition accordingly: on a 32GB board rootfs is scaled to 20GB instead of the 16GB-board default.
- Interactive wizard. Running
arduino-flasher-cli flashwith no arguments now starts an instead of failing: pick the board variant (16GB or 32GB UNO Q), pick the image version from the online manifest (the latest one is marked), choose whether to keep the user partition, and set the root/home split as a percentage of the total storage, with the resulting partition sizes previewed live while typing. - New
--root-sizeflag onflash, to choose the size of the root partition (e.g.arduino-flasher-cli flash latest --root-size 12GB). Values are parsed as human-readable sizes and must be at least 10GB. When--preserve-useris used the current root size is read from the board, so the layout stays consistent.--root-sizeand--preserve-userare mutually exclusive. - On Windows, drivers are now installed with
pnputil, which ships with modern Windows versions, instead of the bundleddpinstexecutables. Thedpinstbinaries are no longer embedded in the flasher.
gRPC service
- Downloaded temporary files are now removed after a successful flash, not only on failure.
What's Changed
- chore(deps): bump google.golang.org/grpc from 1.77.0 to 1.79.3 by @dependabot[bot] in #83
- chore: update actions version by @lucarin91 in #85
- fix(grpc): delete temp file if flash success by @lucarin91 in #86
- refactor: switch to
pnputilfor driver installation on Windows by @MatteoPologruto in #84 - chore: REUSE framework by @dido18 in #78
- feat: add option to resize root partition while flashing by @lucarin91 in #87
- chore: licenses was using the wrong source by @lucarin91 in #92
- feat: add interactive gui by @lucarin91 in #90
- fix: add upper bound for custom size root partition by @MatteoPologruto in #93
New Contributors
- @dependabot[bot] made their first contribution in #83
Full Changelog: v0.5.1...v0.5.3