firmware wip - try to add external libs as git submodule, does not work atm

This commit is contained in:
DeltaLima 2024-12-13 21:41:31 +01:00
parent 593220d6cf
commit 5b56c8bc86
3 changed files with 20 additions and 13 deletions

6
.gitmodules vendored
View file

@ -10,9 +10,6 @@
[submodule "Arduino/CanGrow/lib/Adafruit_BME280_Library"] [submodule "Arduino/CanGrow/lib/Adafruit_BME280_Library"]
path = Arduino/CanGrow/lib/Adafruit_BME280_Library path = Arduino/CanGrow/lib/Adafruit_BME280_Library
url = https://github.com/adafruit/Adafruit_BME280_Library/ url = https://github.com/adafruit/Adafruit_BME280_Library/
[submodule "Arduino/CanGrow/lib/ArduinoJson"]
path = Arduino/CanGrow/lib/ArduinoJson
url = https://github.com/bblanchon/ArduinoJson
[submodule "Arduino/CanGrow/lib/NTPClient"] [submodule "Arduino/CanGrow/lib/NTPClient"]
path = Arduino/CanGrow/lib/NTPClient path = Arduino/CanGrow/lib/NTPClient
url = https://github.com/arduino-libraries/NTPClient url = https://github.com/arduino-libraries/NTPClient
@ -22,3 +19,6 @@
[submodule "Arduino/CanGrow/lib/Adafruit_SHT31"] [submodule "Arduino/CanGrow/lib/Adafruit_SHT31"]
path = Arduino/CanGrow/lib/Adafruit_SHT31 path = Arduino/CanGrow/lib/Adafruit_SHT31
url = https://github.com/adafruit/Adafruit_SHT31/ url = https://github.com/adafruit/Adafruit_SHT31/
[submodule "Arduino/CanGrow/lib/Adafruit_Sensor"]
path = Arduino/CanGrow/lib/Adafruit_Sensor
url = https://github.com/adafruit/Adafruit_Sensor

View file

@ -26,22 +26,28 @@
// Libraries external // Libraries external
// https://github.com/adafruit/Adafruit-GFX-Library // https://github.com/adafruit/Adafruit-GFX-Library
#include <lib/Adafruit-GFX-Library/Adafruit_GFX.h> //include "lib/Adafruit-GFX-Library/Adafruit_GFX.h"
#include <Adafruit_GFX.h>
// https://github.com/adafruit/Adafruit_SSD1306 // https://github.com/adafruit/Adafruit_SSD1306
#include <lib/Adafruit_SSD1306/Adafruit_SSD1306.h> //include "lib/Adafruit_SSD1306/Adafruit_SSD1306.h"
#include <Adafruit_SSD1306.h>
// https://github.com/adafruit/Adafruit_Sensor // https://github.com/adafruit/Adafruit_Sensor
#include <lib/Adafruit_Sensor/Adafruit_Sensor.h> // include "lib/Adafruit_Sensor/Adafruit_Sensor.h"
#include <Adafruit_Sensor.h>
// https://github.com/adafruit/Adafruit_BME280_Library // https://github.com/adafruit/Adafruit_BME280_Library
#include <lib/Adafruit_BME280_Library/Adafruit_BME280.h> //include "lib/Adafruit_BME280_Library/Adafruit_BME280.h"
#include <Adafruit_BME280.h>
// https://github.com/adafruit/Adafruit_SHT31/ // https://github.com/adafruit/Adafruit_SHT31/
#include "lib//Adafruit_SHT31.h" //#include "lib/Adafruit_SHT31/Adafruit_SHT31.h"
#include <Adafruit_SHT31.h>
// https://github.com/bblanchon/ArduinoJson // https://github.com/bblanchon/ArduinoJson
#include <lib/ArduinoJson/ArduinoJson.h> #include "lib/ArduinoJson/ArduinoJson-v7.2.1.h"
// https://github.com/arduino-libraries/NTPClient // https://github.com/arduino-libraries/NTPClient
#include <lib/NTPClient/NTPClient.h> //#include "lib/NTPClient/NTPClient.h"
#include <NTPClient.h>
// https://github.com/PaulStoffregen/Time // https://github.com/PaulStoffregen/Time
#include <lib/Time/TimeLib.h> //#include "lib/Time/TimeLib.h"
#include <TimeLib.h>
// DHT support dropped // DHT support dropped
// https://github.com/adafruit/DHT-sensor-library // https://github.com/adafruit/DHT-sensor-library
@ -50,7 +56,7 @@
/* /*
* CanGrow header files * CanGrow header files
*/ */
#include "CanGrow_Version.h"
#include "CanGrow_PinAssignments.h" #include "CanGrow_PinAssignments.h"
#include "CanGrow_Init.h" #include "CanGrow_Init.h"
#include "CanGrow_Logo.h" #include "CanGrow_Logo.h"

@ -0,0 +1 @@
Subproject commit 7b2473b6b24ae340f41685b5f5b2b90ad896db04