Closed
Description
Bug Report
Current behavior
$ arduino-cli board details SparkFun:apollo3:sfe_artemis_nano
It always shows the first .menu.loader.option_* entry listed in boards.txt, despite the environment having been configured to use a different choice (second menu entry) via the IDE. No indication of why the contrary choice is selected, or how it can be corrected, is provided. In my case this rendered the tool completely unable to upload sketches.
Expected behavior
The tool should reflect the user-selected preference (custom_loader=) in Arduino15/preferences.txt.
The upload command should support a command-line option for explicitly choosing the loader.
Environment
$ arduino-cli version
arduino-cli alpha Version: 0.14.0 Commit: a86b21d Date:
MacOS Big Sur 11.1
Additional context
n/a