-
-
Notifications
You must be signed in to change notification settings - Fork 398
Explain better that "board listall" depends on installed cores #550
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
I second your concerns about the
When you do
This is possible because the CLI queries a remote service which can tell you something about your board given VID and PID as they come from the USB connection (see #336). We should have a conversation about how much of this (along with other similar cases like |
Yes, it is confused, I'm trying to use arduino-cli on Debian, and I'm following the official documentation but I only have a empty output from:
|
@hpsaturn
|
I know it, but it is confused, if I did running Some examples:Debian
PlatformIO
|
@hpsaturn Definitely the visual output to a shell user should be nicer, but as we are in development some features are pushed for a later time in order to make the CLI more stable and powerful. |
But it isn't a UX or shell friendly issue, after the first clean installation, how I know what FQBN strings exists?
these commands only works if you already did a core installation. But how to I know what core install? The For me the documentation is not clear. After first clean installation these are documentation steps:
the next step is arduino-cli core install arduino:samd how to you know that it be "arduino:samd" ? Maybe the listall option is wrong, and it should show all possible boards? |
@hpsaturn Maybe there should be a suggestion to the user, it could be a "first run" message or something that just shows up when no platforms are installed |
@ubidefeo or maybe more easy:
or adding maybe the option boards, something like:
|
@hpsaturn will put it in our backlog as enhancement :) |
Another initially-confused user here. I've used Arduino stuff starting in the early 2010s, but haven't used it since
Returns: I google "Arduino FQBN", and find this, which suggests
Nothing shows up. I google around, and figure out that I have to install some boards. From this issue, I figure out that I have to install a "core" to have boards installed. I run:
And it showing nothing shows me that I don't have any cores installed. (I don't know what a "core" is at this point) I run:
Thinking that this might download a list of available cores, but Finally, I try
And finally, Some things I'd have liked to be different:
Overall, I really appreciate that there's a CLI that seems like it'll be relatively smooth to use. Hopefully this feedback can help make it even better :) |
This comment was marked as resolved.
This comment was marked as resolved.
I came to this thread because |
In the getting started guide: https://arduino.github.io/arduino-cli/0.21/getting-started/ (Maybe same file as: https://github.com/arduino/arduino-cli/blob/master/docs/getting-started.md ?) Under the heading "Connect the board to your PC" and then 3rd code block down replacing |
With regard to the getting Started instructions I see the following:
Unfortunately, this is incorrect. I have a brand new laptop with no Arduino IDE installed, yet, and I was updating the Arduino-cli chapter in my book, Arduino Software Internals to take account of all the new stuff since 2018/2019 and version 0.6.0! Running the I have a number of boards in my colection; a genuine Mega 2560 R3; a clone Uno R3; a genuine Duemilanove; a couple of clone Nanos and a few "Normduinos" that I built myself to run without a crystal. Only the Mega is identified correctly with I did, eventually, discover that the The documentation needs to be updated to mention this latter command, In addition, and mildly irritating, my Duemilanove is not found with either a core or a board search. Luckily I know that the Diecimila is the same. It would be nice to be able to look fopr my actual board though! 😉 HTH Cheers, |
Current behavior
When no cores are installed, I would expect that
listall
returned all the existing boards (like the Boards menu in the IDE). For a new user it's not clear that it only lists the boards whose cores are installed, also becausecore install
is documented in the README afterboard listall
.Suggested behavior
Also, would it be possible to add a
board search
command to list all the existing boards (even if not installed)? Do we have such data around?Most users think like this: I have a board -> I know its name but I don't know what core it requires -> Please install whatever core is needed for my board
Additional context
Additional requests
The text was updated successfully, but these errors were encountered: