PlatformIo, ESP32 and LittleFS vs SPIFFS #2208
Unanswered
keck9939
asked this question in
Q&A - General
Replies: 1 comment 6 replies
-
SPIFFS supports remains in the library for legacy sketch users and to support the included examples. The library is written for an Arduino environment, this can be configured within PlatformIO. The library will then build without modification. You could of create a dummy header file to get around the problem or not use smooth fonts. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to build the WLED project using PlatformIo targeting an ESP32 with TFT_eSPI support included. It fails to build because SPIFFS.h is not found in TFT_eSPI_ESP32.h. The problem is, if the target is ESP32, SPIFFS.h is explicitly included in TFT_eSPI_ESP32.h. I suspect that this problem may not occur with the Arduino IDE because SPIFFS.h can be found somewhere, whereas on PlatformIo only explicitly included libraries are present. Note that WLED uses LittleFS and SPIFFS is deprecated.
I can get it to build by editing TFT_eSPI_ESP32.h, but this does not seem to be a clean solution. Is there a better way?
Beta Was this translation helpful? Give feedback.
All reactions