diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index 6e5fb71..ac07033 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -28,9 +28,38 @@ */ +/* + * CanGrow includes + */ #include "include/CanGrow.h" +/* + * Libraries + */ + +// * ESP8266 * +#ifdef ESP8266 +#include +#endif + +// * ESP32 * +#ifdef ESP32 +#include +#endif + +// https://github.com/arduino/ArduinoCore-avr/tree/master/libraries/SPI +#include +// https://github.com/arduino/ArduinoCore-avr/tree/master/libraries/Wire +#include +// https://github.com/lacamera/ESPAsyncWebServer +#include +// https://github.com/bblanchon/ArduinoJson +#include +// https://github.com/PaulStoffregen/Time +#include + + void setup() { diff --git a/Arduino/CanGrow/include/CanGrow.h b/Arduino/CanGrow/include/CanGrow.h index e090897..f6dbf7f 100644 --- a/Arduino/CanGrow/include/CanGrow.h +++ b/Arduino/CanGrow/include/CanGrow.h @@ -26,3 +26,4 @@ * THE SOFTWARE. * */ + diff --git a/cangrow.sh b/cangrow.sh index 59c9315..0cb3f4c 100755 --- a/cangrow.sh +++ b/cangrow.sh @@ -33,7 +33,7 @@ test -z $1 && help case $1 in s|setup) ACLI_DIR="$(dirname $ACLI)" - declare -a LIBS=( "Adafruit SSD1306" "Adafruit BME280 Library" "ArduinoJson" "NTPClient" "Time" ) + declare -a LIBS=( "Adafruit SSD1306" "Adafruit BME280 Library" "ArduinoJson" "NTPClient" "Time" "ESPAsyncWebServer" ) echo ":: Setting up build environment for CanGrow Firmware." echo " This will download the binary for arduino-cli and install" echo " the packages for the arduino ide from the debian repository."