Page 1 of 1

How to use LittleFS on ESP32?

Posted: Sun Jun 14, 2020 4:05 pm
by sblantipodi
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?

Re: How to use LittleFS on ESP32?

Posted: Sun Jun 14, 2020 7:51 pm
by idahowalker

Re: How to use LittleFS on ESP32?

Posted: Sun Jun 14, 2020 7:59 pm
by sblantipodi
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 :)

Re: How to use LittleFS on ESP32?

Posted: Tue Jun 16, 2020 3:30 pm
by bnp117
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