- Notifications
You must be signed in to change notification settings - Fork87
Unable to figure out why 'LittleFS' was not declared in this scope#96
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hi all, For a project I am trying to use the ESPAsync_WiFiManager but all the examples seem to be getting the same error. It does not seem to be the same as issue#95 since I am using 2.0.3 as framework. TheBuild log.txt is attached. Does anyone have any suggestions on how to fix this? |
BetaWas this translation helpful?Give feedback.
All reactions
CheckPrerequisites
Notice: ThisLittleFS_esp32 library has been integrated to ArduinoESP32 core v1.0.6+ and you don't need to install it if using ESP32 core v1.0.6+
As you're using the new ESP32 cores v2.0.3 with built-inLIttleFS, you don't needLorol'sLITTLEFS library anymore. Especially you're using the recent PIO version supporting new ESP32 core v1.0.6+
You can try to comment out the following line inplatformio.ini
| lorol/LittleFS_esp32@>=1.0.6 |
If not OK, try to compile using Arduino IDE to see if there is anything wrong with your installation. Then moving on to PIO.
Post the issue onPIO Forum f…
Replies: 1 comment 4 replies
-
CheckPrerequisites
As you're using the new ESP32 cores v2.0.3 with built-inLIttleFS, you don't needLorol'sLITTLEFS library anymore. Especially you're using the recent PIO version supporting new ESP32 core v1.0.6+ You can try to comment out the following line inplatformio.ini
If not OK, try to compile using Arduino IDE to see if there is anything wrong with your installation. Then moving on to PIO. Good Luck, |
BetaWas this translation helpful?Give feedback.
All reactions
-
Just to let you know, In Arduino the library compiles without issues. However the following library's need to be installed manually. (And that is not super clear). |
BetaWas this translation helpful?Give feedback.
All reactions
-
Also, a link to the question in thePIO Forum. |
BetaWas this translation helpful?Give feedback.
All reactions
-
FromPIO Forum
As you're using new ESP32 core v1.0.6+, I think that you have to do something similar tofatal error: vfs_api.h: No such file or directory #11, such as remove all instances of |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
For reference. I just got all the patches correct to get 27,32d26< {< "owner": "lorol",< "name": "LittleFS_esp32",< "version": "^1.0.6",< "platforms": ["espressif32"]< } For 49,54d48< },< {< "owner": "lorol",< "name": "LittleFS_esp32",< "version": ">=1.0.6",< "platforms": ["espressif32"] For 27c27,28< #include "FS.h"---> //#include "FS.h"> #include <LittleFS.h> Edit: The Hope this helps someone |
BetaWas this translation helpful?Give feedback.