Skip to content

Commit fa9b8dd

Browse files
authored
Remove unavailable items from depends field of library.properties
The depends field of the library.properties metadata file specifies the dependencies that should be installed along with the library by the Arduino Library Manager. This field must contain only the names of libraries that are available for installation via Library Manager. The presence of any items which are not in Library Manager causes installation of the library to fail: - Arduino IDE 1.x: "no protocol:" error - Arduino IDE 2.x: fails silently - Arduino CLI: "No valid dependencies solution found" error The removed dependencies are "platform bundled libraries", which are included with the installation of each Arduino boards platform, and thus are managed by Arduino Boards Manager, not Library Manager. For this reason, there is no reason for these items to be listed in the depends field.
1 parent 69f6cb5 commit fa9b8dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ paragraph=Allows your Arduino to control an OpenMV Cam over Serial (UART), I2C,
77
category=Communication
88
url=https://github.com/openmv/openmv-arduino-rpc
99
architectures=*
10-
depends=CAN,SoftwareSerial,SPI,Wire
10+
depends=CAN
1111
includes=openmvrpc.h

0 commit comments

Comments
 (0)