Let the CLI mark a platform deprecated/not compatible if it will not work on my env, for example, arduino:[email protected]
#2781
Labels
type: enhancement
Proposed improvement
Describe the request
When I use an older version of the platform, the CLI lists and installs it without any issues. However, it fails with a "bad CPU type in executable" error when I try to compile a sketch.
If the CLI could identify this issue, it would be helpful to mark such versions as "deprecated" (or something similar: https://arduino.github.io/arduino-cli/1.1/rpc/commands/#platformmetadata). This would inform users that these versions are not compatible and prevent them from being installed, ultimately reducing support requests.
Describe the current behavior
There is no way to see if an older version of the AVR core won't work on my environment.
Steps:
There is no way to infer from the JSON if this platform version does not work 👆
Why is it compatible?
Arduino CLI version
1.1.1
Operating system
macOS
Operating system version
11.7.10
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: