How to use LittleFS on ESP32?

sblantipodi
Posts: 21
Joined: Thu Apr 16, 2020 9:41 am

How to use LittleFS on ESP32?

Postby sblantipodi » Sun Jun 14, 2020 4:05 pm

LittleFS became the standard on ESP8266 and is really convenient way to write data (even JSON) on the storage, without the ancient method needed when using EEPROM for example.

Is there a way to use LittleFS on ESP32? Or, does ESP32 have a good alternative to LittleFS?

idahowalker
Posts: 166
Joined: Wed Aug 01, 2018 12:06 pm

Re: How to use LittleFS on ESP32?

Postby idahowalker » Sun Jun 14, 2020 7:51 pm


sblantipodi
Posts: 21
Joined: Thu Apr 16, 2020 9:41 am

Re: How to use LittleFS on ESP32?

Postby sblantipodi » Sun Jun 14, 2020 7:59 pm

idahowalker wrote:
Sun Jun 14, 2020 7:51 pm
https://docs.espressif.com/projects/esp ... index.html see Storage.
your answer does not really answer my question :)

bnp117
Posts: 17
Joined: Fri Jun 15, 2018 3:08 am

Re: How to use LittleFS on ESP32?

Postby bnp117 » Tue Jun 16, 2020 3:30 pm

Here's my port of LittleFS that has the same API as the esp-idf SPIFFS port. Basically it should just work if you replace all your "spiffs" calls with "littlefs". Only slight difference is in your configuration, you don't specify "max_files".

https://github.com/joltwallet/esp_littlefs

Who is online

Users browsing this forum: No registered users and 35 guests