Open manigrassi opened 1 year ago
Thanks for every help
.pio/libdeps/esp32doit-devkit-v1/LittleFS_esp32/src/esp_littlefs.c:19:2: warning: #warning ("Use the built-in LITTLEFS library") [-Wcpp]
^~~
.pio/libdeps/esp32doit-devkit-v1/LittleFS_esp32/src/LittleFS.cpp: In member function 'virtual bool LITTLEFSImpl::exists(const char)':
.pio/libdeps/esp32doit-devkit-v1/LittleFS_esp32/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 .pio/libdeps/esp32doit-devkit-v1/LittleFS_esp32/src/LittleFS.cpp:17:
C:/Users/aless/.platformio/packages/framework-arduinoespressif32/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;
^~~~
C:/Users/aless/.platformio/packages/framework-arduinoespressif32/libraries/FS/src/vfs_api.h:38:17: note: candidate expects 3 arguments, 2 provided
Compiling .pio\build\esp32doit-devkit-v1\lib559\Update\HttpsOTAUpdate.cpp.o
*** [.pio\build\esp32doit-devkit-v1\lib213\LittleFS_esp32\LITTLEFS.cpp.o] Error 1
This looks like you have not updated to the latest version of littlefs
I had a quite similar issue and it took me hours to resolve. The culprit is that platformio for whatever stupid reason starts pulling in the library "LittleFS_esp32", which is old and no longer needed as arduinoespressif32 brings it's own, nice working version of it. My solution was to put this in my platformio.ini:
lib_deps =
me-no-dev/ESPAsyncTCP@^1.2.2
me-no-dev/ESP Async WebServer@^1.2.4
s00500/ESPUI@^2.2.3
lib_ignore =
LittleFS_esp32 ; force the use of the ESP32 built into the core version
The important part is that lib_ignore area.
Describe the bug The micrcontroller continuous reset.
To Reproduce Steps to reproduce the behavior: simple this file ini (platformio). Check every example for example from littlfs or just with nothing [env:esp32doit-devkit-v1] platform = espressif32@6.0.0 board = esp32doit-devkit-v1 framework = arduino lib_deps = s00500/ESPUI@^2.1.1 bodmer/TFT_eSPI@^2.4.79 lewisxhe/PCF8563_Library@^1.0.1
RECOMMENDED
Accept new functionality in a backwards compatible manner and patches
bblanchon/ArduinoJson @ ^6.19.3
Accept only backwards compatible bug fixes
(any version with the same major and minor versions, and an equal or greater patch version)
bblanchon/ArduinoJson @ ~6.19.3
The exact version
bblanchon/ArduinoJson @ 6.19.3
https://github.com/me-no-dev/ESPAsyncWebServer.git#master
Expected behavior No error. I need to replace because with expressif@3.5.0 the system restart misterious with the follow write: Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here. My personal mail: sandro@manitronica.com my mobile: +39 3483116130 I can send the complete source code.