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

Skip to content Dismiss alert {{ message }} / Arduino Public
  • Notifications You must be signed in to change notification settings
  • Fork 13.2k
  • Star 16.5k
  • Code
  • Issues 325
  • Pull requests 75
  • Discussions
  • Actions
  • Projects
  • Wiki
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options Cannot build with LittleFS support (LittleFS.h not found) #7494New issueNew issueClosedClosedCannot build with LittleFS support (LittleFS.h not found)#7494@TD-er

Description

@TD-erTD-eropened on Jul 31, 2020

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?

Metadata

Metadata

Assignees

No one assigned

Labels

No labelsNo labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Tag » Arduino Littlefs.h No Such File Or Directory