You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🙁 There is currently no way to define a default profile, to be used when the arduino-cli command operating on a sketch with build profiles does not contain a --profile flag.
I'm forced to use the --profile flag, even if my sketch.yaml file has only one profile. It doesn't make sense!
arduino-cli could simply default to the single profile.
Something like default_profile: leonardo, like suggested by @cmaglie, could be also a good alternative. In fact, it would be almost better than the "magical" defaulting to the single profile. In this case the user would tell, which profile has to be used as the default.
Describe the request
Implement the "Using a default profile" component of the "Sketch build profiles and reproducible builds" RFC.
Describe the current behavior
The majority of the "Sketch build profiles and reproducible builds" RFC has now been implemented (#1713).
One missing part is the support for the
default_profile
key of the sketch project file.🙁 There is currently no way to define a default profile, to be used when the
arduino-cli
command operating on a sketch with build profiles does not contain a--profile
flag.Arduino CLI version
0.23.0
Operating system
All
Operating system version
N/A
Additional context
Issue checklist
The text was updated successfully, but these errors were encountered: