firmware wip - include libs as git submodules

This commit is contained in:
DeltaLima 2024-12-13 21:03:15 +01:00
parent abb79ebecc
commit 593220d6cf
9 changed files with 47 additions and 14 deletions

24
.gitmodules vendored Normal file
View file

@ -0,0 +1,24 @@
[submodule "Arduino/CanGrow/Adafruit-GFX-Library"]
path = Arduino/CanGrow/Adafruit-GFX-Library
url = https://github.com/adafruit/Adafruit-GFX-Library
[submodule "Arduino/CanGrow/lib/Adafruit-GFX-Library"]
path = Arduino/CanGrow/lib/Adafruit-GFX-Library
url = https://github.com/adafruit/Adafruit-GFX-Library
[submodule "Arduino/CanGrow/lib/Adafruit_SSD1306"]
path = Arduino/CanGrow/lib/Adafruit_SSD1306
url = https://github.com/adafruit/Adafruit_SSD1306
[submodule "Arduino/CanGrow/lib/Adafruit_BME280_Library"]
path = Arduino/CanGrow/lib/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"]
path = Arduino/CanGrow/lib/NTPClient
url = https://github.com/arduino-libraries/NTPClient
[submodule "Arduino/CanGrow/lib/Time"]
path = Arduino/CanGrow/lib/Time
url = https://github.com/PaulStoffregen/Time
[submodule "Arduino/CanGrow/lib/Adafruit_SHT31"]
path = Arduino/CanGrow/lib/Adafruit_SHT31
url = https://github.com/adafruit/Adafruit_SHT31/

View file

@ -9,7 +9,7 @@
*
*/
// Libraries
// Libraries internal (Arduino Core / ESP)
// https://github.com/arduino/ArduinoCore-avr/tree/master/libraries/SPI
#include <SPI.h>
// https://github.com/arduino/ArduinoCore-avr/tree/master/libraries/Wire
@ -23,27 +23,29 @@
#include <ESP8266WebServer.h>
// OTA update
#include <ESP8266HTTPUpdateServer.h>
// Libraries external
// https://github.com/adafruit/Adafruit-GFX-Library
#include <Adafruit_GFX.h>
#include <lib/Adafruit-GFX-Library/Adafruit_GFX.h>
// https://github.com/adafruit/Adafruit_SSD1306
#include <Adafruit_SSD1306.h>
// https://github.com/adafruit/Adafruit_BME280_Library/
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
#include <lib/Adafruit_SSD1306/Adafruit_SSD1306.h>
// https://github.com/adafruit/Adafruit_Sensor
#include <lib/Adafruit_Sensor/Adafruit_Sensor.h>
// https://github.com/adafruit/Adafruit_BME280_Library
#include <lib/Adafruit_BME280_Library/Adafruit_BME280.h>
// https://github.com/adafruit/Adafruit_SHT31/
#include "lib//Adafruit_SHT31.h"
// https://github.com/bblanchon/ArduinoJson
#include <ArduinoJson.h>
#include <lib/ArduinoJson/ArduinoJson.h>
// https://github.com/arduino-libraries/NTPClient
#include <NTPClient.h>
#include <lib/NTPClient/NTPClient.h>
// https://github.com/PaulStoffregen/Time
#include <TimeLib.h>
#include <lib/Time/TimeLib.h>
// DHT support dropped
// https://github.com/adafruit/DHT-sensor-library
// #include "DHT.h"
// SHT30/31
// https://github.com/adafruit/Adafruit_SHT31/
#include "Adafruit_SHT31.h"
/*
* CanGrow header files

@ -0,0 +1 @@
Subproject commit d4720987895bc49bdb38beb9d3e288de8bd59078

@ -0,0 +1 @@
Subproject commit 9412f3d1a2e334a3415d79df706dad02925488aa

@ -0,0 +1 @@
Subproject commit 5e34a20df62371150f7cb10330919e9393b884b1

@ -0,0 +1 @@
Subproject commit 78d6a130b2045a8b7b76616da81603796757ed47

@ -0,0 +1 @@
Subproject commit e33e78d202d03f45a63fb8d44fae25eef1ae8bd7

@ -0,0 +1 @@
Subproject commit 61684d4516839b579b81105be3447499c1417908

@ -0,0 +1 @@
Subproject commit a18e50dcea4ee17285d732d39e7bc559482d1d3d