-
-
Notifications
You must be signed in to change notification settings - Fork 398
Board names are inconsistent between core installed and core not installed #997
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
@silvanocerza whilst we're looking into the behaviour of |
You know, I was just looking through your repo and found this
It repeats for each platform version but I strongly suspect that if the FQBNs were added to this JSON they would be delivered. |
@PeterWone |
Closing as duplicate of #620 To make things clear, the source of the boards list when the boards platform is not installed comes from the {
"name": "Arduino AVR Boards",
"architecture": "avr",
"version": "1.8.3",
"category": "Arduino",
"help": {
"online": "http://www.arduino.cc/en/Reference/HomePage"
},
"url": "http://downloads.arduino.cc/cores/avr-1.8.3.tar.bz2",
"archiveFileName": "avr-1.8.3.tar.bz2",
"checksum": "SHA-256:de8a9b982477762d3d3e52fc2b682cdd8ff194dc3f1d46f4debdea6a01b33c14",
"size": "4941548",
"boards": [
{"name": "Arduino Yún"},
{"name": "Arduino Uno"},
{"name": "Arduino Uno WiFi"},
{"name": "Arduino Diecimila"},
{"name": "Arduino Nano"},
{"name": "Arduino Mega"},
{"name": "Arduino MegaADK"},
{"name": "Arduino Leonardo"},
{"name": "Arduino Leonardo Ethernet"},
{"name": "Arduino Micro"},
{"name": "Arduino Esplora"},
{"name": "Arduino Mini"},
{"name": "Arduino Ethernet"},
{"name": "Arduino Fio"},
{"name": "Arduino BT"},
{"name": "Arduino LilyPadUSB"},
{"name": "Arduino Lilypad"},
{"name": "Arduino Pro"},
{"name": "Arduino ATMegaNG"},
{"name": "Arduino Robot Control"},
{"name": "Arduino Robot Motor"},
{"name": "Arduino Gemma"},
{"name": "Adafruit Circuit Playground"},
{"name": "Arduino Yún Mini"},
{"name": "Arduino Industrial 101"},
{"name": "Linino One"}
],
"toolsDependencies": [
{
"packager": "arduino",
"name": "avr-gcc",
"version": "7.3.0-atmel3.6.1-arduino7"
},
{
"packager": "arduino",
"name": "avrdude",
"version": "6.3.0-arduino17"
},
{
"packager": "arduino",
"name": "arduinoOTA",
"version": "1.3.0"
}
]
}, After the boards platform is installed, the boards list comes from the The first is only intended to provide a summary of the boards provided by the platform in the Boards Manager installation interface. The latter defines the actual boards provided by the platform. So you can't expect the two to be identical. |
Bug Report
Current behavior
Without the arduino:avr core installed,
arduino-cli core search arduino:avr --format json
yields the following. In particular, note the presence of a board with the name "Arduino ATMegaNG"After installing the arduino:avr core the same command produces this.
"Arduino ATMegaNG" has vanished, replaced by "Arduino NG or older".
Expected behavior
The names should be consistent before and after core installation.
Environment
arduino-cli version
): arduino-cli Version: 0.13.0 Commit: 693a045Additional context
Board only has two properties. FQBN isn't available before the relevant core is installed. I install the core when the user selects a board that lacks an FQBN and then do a fixup of my board objects. Except the fixup barfs because the names don't all match before and after.
The text was updated successfully, but these errors were encountered: