Open har-in-air opened 2 years ago
@tonyrewin - thanks for your bugfix. When will this gets released?
Screw it. I am going to submit a fix today if possible.
For some reason, I can't get the PR I created to show up here. If someone could help teach me how to do that or why it is not working then that would be great.
But my PR can be found here: https://github.com/lorol/LITTLEFS/pull/56
Please review and merge my PR so this tiny issue can finally be over!
EDIT: I got trigger happy and just realized that PR https://github.com/lorol/LITTLEFS/pull/49 exists! Please merge one of these, or make the fix manually, and then close all the PRs and this issue!
Im still running into this using platformio. Am I installing the wrong version?
FYI ... I had this issue today and used this fix to correct the error . Thanks
@eatonJ How did you fix it? I'm still getting the error when importing to PlatformIO. :-/
Latest release seems to be lorol/LittleFS_esp32@^1.0.6
.
yes, 2023 5-1 still error
Tried to implement this library in a PlatformIO project. Received similar error messages posted above.
However, I noticed this message in the output when compiling: LittleFS_esp32/src/esp_littlefs.c:19:2: warning: #warning ("Use the built-in LITTLEFS library") [-Wcpp]
After reviewing the "Built-In" portion of the supported libraries within PlatformIO. I noticed that LittleFS is built into the framework-arduinoespressif32.
My project compiled successfully after doing the following in my main.cpp file:
Then add the following in the platformio.ini file, under the lib_deps = LittleFS @ ^2.0.0
Received similar error messages posted above. The solution proposed by #dharms87 worked as well. Thank you!
still had the error compiling LITTLEFS_test.ino under Arduino 1.8.19
corrected as in first comment with ... in LITTLEFS.cpp
bool LITTLEFSImpl::exists(const char* path) { File f = open(path, "r", false); return (f == true); }
I have a PR located here (https://github.com/lorol/LITTLEFS/pull/56). It has been approved but no action has been taken to merge it for some reason.
Fixed by adding third argument File f = open(path, "r", false);