-
-
Notifications
You must be signed in to change notification settings - Fork 398
The name of the board changes after installing the corresponding boards package #620
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
Comments
There is an issue with
Before install: {
"name": "Arduino Zero"
}, After the corresponding core installation: {
"name": "Arduino Zero (Native USB Port)",
"fqbn": "arduino:samd:arduino_zero_native"
},
{
"name": "Arduino Zero (Programming Port)",
"fqbn": "arduino:samd:arduino_zero_edbg"
} |
@kittaakos The Java IDE also presents both :) |
Thanks for the update, @ubidefeo. I think the name of the board still should not change, but both should be declared without the FQBNs:
This issue is not about whether it is there twice or not, but the name change. |
The differences in names are often intentional. It's going to be challenging to achieve compliance with this requirement in the 3rd party platform realm. It's also likely that compliance will break over time, since you must keep these two sets of strings in sync as boards are added or names are changed. For this reason, mismatches should be expected and handled gracefully by Arduino Pro IDE. If this is something that will be required, I suggest documenting that in the package_index.json specification so at least we will have some hope that new platforms will start in compliance. |
Closing as resolved because this inevitable mismatch between the value of the |
Bug Report
Current behavior
So the problem is the following; without anything installed, when I list (
core search
) the boards inside theArduino AVR Boards
boards package, I can seeArduino Mega
. I install the boards package and run the same search; there is noArduino Mega
anymore. But I can seeArduino Mega or Mega 2560
instead.This is critical for the Pro IDE because we cannot set the FQBN of a currently selected board after installing the corresponding boards package. (CC: @cmaglie)
Here are the steps (for macOS, please modify the
rm -rf
command based on the output ofarduino-cli config dump
):Before the boards package installation:
After the installation:
Expected behavior
The name of the boards do not change.
Environment
arduino-cli version
):arduino-cli Version: 0.9.0 Commit: e4d02b4
Additional context
The text was updated successfully, but these errors were encountered: