-
-
Notifications
You must be signed in to change notification settings - Fork 436
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: CLIRelated to the command line interfaceRelated to the command line interfacetype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Bug Report
Current behavior
So the problem is the following; without anything installed, when I list (core search) the boards inside the Arduino AVR Boards boards package, I can see Arduino Mega. I install the boards package and run the same search; there is no Arduino Mega anymore. But I can see Arduino 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 of arduino-cli config dump):
rm -rf ~/Documents/Arduino && rm -rf ~/Library/Arduino15 \
&& ./arduino-cli version \
&& ./arduino-cli core update-index \
&& ./arduino-cli core search "Arduino AVR Boards" --format json \
&& ./arduino-cli core install arduino:avr \
&& ./arduino-cli core search "Arduino AVR Boards" --format json
Before the boards package installation:
{
"name": "Arduino Mega"
},After the installation:
{
"name": "Arduino Mega or Mega 2560",
"fqbn": "arduino:avr:mega"
},Expected behavior
The name of the boards do not change.
Environment
- CLI version (output of
arduino-cli version):arduino-cli Version: 0.9.0 Commit: e4d02b4 - OS and platform: macOS 10.15.3 (19D76)
Additional context
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: CLIRelated to the command line interfaceRelated to the command line interfacetype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project