From a6b8e0f0c7047c95c26a9b24f901932ef612c32b Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 2 Jan 2020 00:15:31 -0800 Subject: [PATCH] Specify library dependencies in library.properties Specifying the library dependencies in the depends field of library.properties causes the Arduino Library Manager (Arduino IDE 1.8.10 and newer) to offer to install any missing dependencies during installation of this library. "arduino-cli lib install" will automatically install the dependencies (arduino-cli 0.7.0 and newer). --- library.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/library.properties b/library.properties index 4f1429a..8b175f7 100644 --- a/library.properties +++ b/library.properties @@ -8,3 +8,4 @@ category=Sensors url=https://github.com/NorthernWidget/ALog architectures=* includes=SdFat.h,Wire.h,DS3231.h,math.h,avr/sleep.h,avr/wdt.h,stdlib.h,SFE_BMP180.h +depends=SdFat,DS3231