joltwallet / esp_littlefs

LittleFS port for ESP-IDF
MIT License
254 stars 95 forks source link

No such file or directory #184

Closed hitecSmartHome closed 4 months ago

hitecSmartHome commented 4 months ago

Hello!

I have added LittleFS to my IDF project using the first approach mentioned in the readme.

idf.py add-dependency joltwallet/littlefs==1.14.4

It was successfull. When i compile my sketch it throws an error

/main/FileSystem/FileSystem.h:4:10: fatal error: LittleFS.h: No such file or directory      
    4 | #include <LittleFS.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[1177/1254] Building CXX object es...es/esp32/chip-debug-report.cpp.obj 
ninja: build stopped: subcommand failed.

I'm using VSCODE IDF extension, freshly installed v5.1. Using Arduino as a component as well.