From fa9b8dd82df96b6398d5ee08c056bf7d62dea622 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 9 Aug 2022 20:41:45 -0700 Subject: [PATCH] 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. --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 3187c47..4b037a2 100644 --- a/library.properties +++ b/library.properties @@ -7,5 +7,5 @@ paragraph=Allows your Arduino to control an OpenMV Cam over Serial (UART), I2C, category=Communication url=https://github.com/openmv/openmv-arduino-rpc architectures=* -depends=CAN,SoftwareSerial,SPI,Wire +depends=CAN includes=openmvrpc.h