Add programmer
to the sketch profile
#2487
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Describe the request
Include
programmer
in the sketch project file (akasketch.yaml
).Getting the debug information (via
debug --info
) requires thefqbn
and theprogrammer
.The FQBN and all custom board options are "encoded" in the
fqbn
property of the profile, but there is no way to store theprogrammer
. If theport
,protocol
,fqbn
, etc., can have a default, maybe adding a slot for theprogrammer
could also make sense.Assume this profile:
Running
arduino-cli debug --info --profile nanorp
would implicitly runarduino-cli debug --info --fqbn arduino:mbed_nano:nanorp2040connect --programmer p1
.Describe the current behavior
There is no way to store the programmer in the sketch profile. This will be a problem in Arduino IDE when people want to opt in and start storing the FQBN + the custom board options in a file and sharing it with others.
Arduino CLI version
0.35
Operating system
N/A
Operating system version
n/a
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: