-
-
Notifications
You must be signed in to change notification settings - Fork 398
core list
command gives no output when no platforms are installed
#2220
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
This is a newly setup laptop, so there were no cores installed previously. I have not installed the Arduino 2.x IDE either. I installed the core for the Nicla Vision, which triggered the install of USB drivers as well.
When the
|
Possible solution: replace this line arduino-cli/commands/core/list.go Line 88 in 642996f
With this
|
core list
command gives no outputcore list
command gives no output when no platforsm are installed
core list
command gives no output when no platforsm are installedcore list
command gives no output when no platforms are installed
@aliphys 👋 Thanks for reporting this. I agree with you. When we have no installed cores it's not clear what's going on. I wouldn't return any error on the API level, as this kind of thing should be inferred by the length of the data we receive. But your suggestion is still valid it just needs to be implemented in a different place 🤓 We have two options:
$ arduino-cli core list
No platforms installed.
$ arduino-cli core list
ID Installed Latest Name
|
core list
command gives no output when no platforms are installedcore list
command gives no output when no platforms are installed
Describe the problem
I want to see the list of currently installed cores on my system. But cannot.

To reproduce
arduino-cli core list
in the terminal.Expected behavior
I get a list of available cores on the system
Arduino CLI version
Version: 0.33.0 Commit: ca60d4b Date: 2023-05-30T12:14:01Z
Operating system
Windows
Operating system version
Windows 11
Additional context
I can see a list of installable/installed cores by appending the
--all
argument.The
arduino-cli board list
correctly identities the connected board name, FQBN and the core (arduino:mbed_nicla
).Issue checklist
The text was updated successfully, but these errors were encountered: