Esp8266-Arduino-Makefile icon indicating copy to clipboard operation
Esp8266-Arduino-Makefile copied to clipboard

Support For recursive libraries

Open swapnil823 opened this issue 6 years ago • 2 comments

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.

swapnil823 avatar Jun 01 '19 13:06 swapnil823

Workaround as of now is to add the referenced library in USER src files so that it is included for compilation.

swapnil823 avatar Jun 01 '19 13:06 swapnil823

Hello, look at the SPIFFS examples : The first two lines are #include "FS.h" #include "SPIFFS.h"

thunderace avatar Jun 03 '19 18:06 thunderace