Esp8266-Arduino-Makefile
Esp8266-Arduino-Makefile copied to clipboard
Support For recursive libraries
Some of the ESP32 libraries are dependent on other ESP32 libraries. An example would be SPIFFS which uses FS library. This makefile fails to recognise such usage. Causing build to fail with following error:
In file included from configUtils.h:6:0, from configUtils.cpp:1: ../espMakefile/esp32-1.0.2/libraries/SPIFFS/src/SPIFFS.h:17:16: fatal error: FS.h: No such file or directory compilation terminated.
Workaround as of now is to add the referenced library in USER src files so that it is included for compilation.
Hello, look at the SPIFFS examples : The first two lines are #include "FS.h" #include "SPIFFS.h"