Open jeiry opened 1 year ago
Seams its a issue with the new Version 1.0.6, i go back to Version 1.0.5 and its works again. But yes i have the same issue with the Version 1.0.6
getting the same error when trying to build with PIO for M5stack Core2. Specifying 1.0.5 in lib_deps
didn't help..
For anyone who has the same problem
I fixed this by downloading the 1.0.5 from here: https://github.com/lorol/LITTLEFS/releases
I then extracted the folder and renamed it to "LittleFS_esp32" and plopped it into my .pio/libdeps folder and my platformio on debian recognised it and compiled without this issue ;)
board: esp32s3 n8r8 psram: opi psram flash model: QIO 120MHz flash size: 8MB(64MB)
LITTLEFS-1.0.6 esp32\2.0.6
`#include
include "FS.h"
include
void setup() { Serial.println("Mount LittleFS"); if (!LITTLEFS.begin()) { Serial.println("LittleFS mount failed"); return; } LITTLEFS.end(); // put your setup code here, to run once:
}
void loop() { // put your main code here, to run repeatedly:
}`
Error: `e:\files\Arduino\libraries\LITTLEFS-1.0.6\src\LITTLEFS.cpp: In member function 'virtual bool LITTLEFSImpl::exists(const char)': e:\files\Arduino\libraries\LITTLEFS-1.0.6\src\LITTLEFS.cpp:44:28: error: no matching function for call to 'LITTLEFSImpl::open(const char&, const char [2])' File f = open(path, "r"); ^ In file included from e:\files\Arduino\libraries\LITTLEFS-1.0.6\src\LITTLEFS.cpp:17: F:\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/vfs_api.h:38:17: note: candidate: 'virtual fs::FileImplPtr VFSImpl::open(const char, const char, bool)' FileImplPtr open(const char path, const char mode, const bool create) override; ^~~~ F:\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/vfs_api.h:38:17: note: candidate expects 3 arguments, 2 provided
exit status 1
Compilation error: exit status 1`
What is wrong with me? Help Please!Thank you