-
-
Notifications
You must be signed in to change notification settings - Fork 398
Q: Servo library is not installed by platform.install
?
#1611
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
PS. cmd and grpc tested on different devices (probably makes sense) |
Ah, cmd executing on the same device failed - it seems that "Servo" is not installed by That's what i have:
|
platform.install
?
Yeah, i had to install it additionally and it works now. The only thing that is not clear what's the default llibs list to be installed? Is it an expected behaviour? |
Hi @4ntoine. You can learn about the "platform bundled libraries" that are installed along with an Arduino platform here: https://arduino.github.io/arduino-cli/0.20/platform-specification/#platform-bundled-libraries Although it is a common convention to provide the fundamental SPI and Wire libraries at least, the platform author is free to choose the libraries that are bundled, so there is no fixed list of libraries to be installed with a platform.
Yes. Unlike the Arduino IDE, the installation of Arduino CLI itself doesn't come with any libraries. So, other than the platform bundled libraries of the board you are compiling for, all others must be installed via |
Bug Report
Current behavior
Sketch compilation with library used succeeds over cmd, but fails over grpc.
cmd:
grpc (dart code):
Getting:
Expected behavior
Compilation over gRPC succeeds.
Environment
arduino-cli version
):0.20.2
Additional context
The text was updated successfully, but these errors were encountered: