Cannot Build With LittleFS Support (LittleFS.h Not Found) · Issue #7494

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: [ESP-12|ESP-01|ESP-07|ESP8285 device|other]
  • Core Version: [Core 2.7.3]
  • Development Env: [Platformio]
  • Operating System: [Windows]

Problem Description

When trying to build (on a new computer), I now get these build errors:

src\src\Helpers\../../ESPEasy_common.h:26:24: fatal error: LittleFS.h: No such file or directory

The context of where this error is reported:

#ifdef USE_LITTLEFS #include <LittleFS.h> #define ESPEASY_FS LittleFS #else #ifdef ESP32 #include <SPIFFS.h> #endif #define ESPEASY_FS SPIFFS #endif

I have defined USE_LITTLEFS (otherwise I would not get the error) and in the PlatformIO.ini file this is set:

lib_ignore = ESP32_ping, ESP32WebServer, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR lib_deps = ${esp82xx_common.lib_deps}, LittleFS(esp8266)

The file does exist in the path where PlatformIO does keep its framework downloads. For me it is: C:\Users\gijsn\.platformio\packages\framework-arduinoespressif8266\libraries\LittleFS\src So it is not a matter of not all sub repositories being fetched.

Any idea what may be wrong here?

Tag » Arduino Littlefs.h No Such File Or Directory