ESP32’s LitteFS library works different, there is no info()
function. Call these functions directly:
So e.g.,
size_t total = LitteFS.totalBytes();
size_t used = LitteFS.usedBytes();
ESP32’s LitteFS library works different, there is no info()
function. Call these functions directly:
So e.g.,
size_t total = LitteFS.totalBytes();
size_t used = LitteFS.usedBytes();
thanks Max! So, it’s like SPIFFS.
@maxgerhardt
Wondering any luck on sourcing ESP32-S3 and seeing if you can get LittleFS to work under PlatformIO ?
Has anyone else in community got it working using PlatformIO ?
hello @maxgerhardt don’t mean to be bugging you, but wondering any success in getting ESP32-S3 working with LittleFS on VSC with PlatformIO ?
You can try to add this line to your platformio.ini
file:
[env:esp32-s3-devkitc-1]
board_build.filesystem = littlefs
Then build filesystem image and upload it.
FYI: see more details in this article
thanks but I simply cannot get LittleFS to work with lolin_s3 using PlatformIO in VSC.
It works fine with arduino ide.
Anyone had hany success ?
Can you get that filed in Issues · platformio/platform-espressif32 · GitHub with your exact platformio.ini
, board and project files?
We use LittleFS as standard Filesystem for Tasmota for every esp MCU.
No issues. Just works. Tasmota is build with Platformio.
The difference we do not use any predefined boards.json or partition scheme from Arduino nor Platformio. So it is for 99% the boards.json and/or a wrong partition scheme.
Please provide a link to the exact specs of the board. All S3 boards needs a 100% correct Platformio Setup. Without issues will occur. FS issues is one of the. For example Choosing wrong flash modes ends in corrupted FS Partition