Skip to content

Provide sample command to install missing platform #1356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
alranel opened this issue Jul 13, 2021 · 0 comments · Fixed by #1647
Closed

Provide sample command to install missing platform #1356

alranel opened this issue Jul 13, 2021 · 0 comments · Fixed by #1647
Labels
conclusion: resolved Issue was resolved topic: CLI Related to the command line interface type: enhancement Proposed improvement

Comments

@alranel
Copy link
Contributor

alranel commented Jul 13, 2021

As of now, when trying to compile or upload to a platform that is not installed, the following error is returned:

Error during Upload: incorrect FQBN: platform arduino:avr is not installed

It could be nice to help users by providing the command they can run to fix the issue:

Error during Upload: incorrect FQBN: platform arduino:avr is not installed; try running `arduino-cli core install arduino:avr`

(It would be even better to prompt user to install the platform, but this would break the current non-interactive behavior of arduino-cli)

@alranel alranel added type: enhancement Proposed improvement topic: CLI labels Jul 13, 2021
@rsora rsora added topic: CLI Related to the command line interface and removed topic: CLI labels Sep 16, 2021
@per1234 per1234 added the conclusion: resolved Issue was resolved label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: CLI Related to the command line interface type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants