-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embed littleFS #3765
Comments
Not sure if anybody works on that. |
LittleFS is much more robust than SPIFFS, does not lose formatting due to power failure. |
It would be cool if someone would port it to esp32. SPIFFS is limited if we use 16mb esp32s. I have to use a 7mb ota 7mb app and 1mb flash because the slowness of the spiffs. :( |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
It would be very welcome - not least for code portability reasons. :) |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
since SPIFFS has been deprecated on ESP8266, LittleFS should be integrated in ESP32. |
While it would be nice to have a port, littleFS is not supported in esp-idf, so is unlikely to become canon here, and it is not part of Arduino compatibility (the purpose of this project). |
and what is the sense of deprecating SPIFFS on ESP8266 and not on ESP32? |
You will need to ask them. It may be deprecated on esp-idf eventually and replaced with LittleFS. At that point, it will be trivial to add to arduino. The ESP32 and ESP8266 projects are not welded together. |
wait... why should we care that 8266 crew deprecated SPIFFS and somehow follow them? I am really confused by such way of thinking. They did not bother to ask or discuss this with us. SPIFFS is supported in IDF and is supported here. LittleFS has nothing to do with it. |
are esp8266 and esp32 two separate products? |
8266 Arduino is community supported. Everything else is Espressif. So, 8266 has and does it's own things when we talk Arduino. They do not sync with us and we do not with them. They run NonOS and we run FreeRTOS. |
Hi, I managed to make it as a lib, please see this and comment your thoughts: https://github.com/lorol/arduino-esp32littlefs-plugin Thank you |
…sation: https://github.com/lorol/arduino-esp32littlefs-plugin https://github.com/lorol/LITTLEFS espressif/arduino-esp32#3765 #include <FS.h> #define SPIFFS LITTLEFS #include <LITTLEFS.h>
@lorol so littleFS is slower than SPIFFS per your tests ? |
@luc-github Writing to LITTLEFS is 4 times faster. Reading is slower. (on my simple test) |
Sorry I just noted the last number, the reading ones |
@lorol I have tested with latest ESP32 git - I used the sample and adding time test and size display
|
Yes, you can compare the "feel" of running to SPIFFS. |
FYI to compare speed with ESP32 FAT also
Writing is pretty close = but for reading FatFS is still 1rst, may be LittleFS need some tunning to get better reading |
@luc-github |
the partition was not same size, I will redo tomorrow to compare properly |
I don't expect FAT to be beaten on speed, anyway. |
once the job is finished and all works ok, |
@ because I never made a PR yet :) and also as @me-no-dev said, ESP-IDF is not a community thing ... |
@sblantipodi here you go: #4096 |
@lorol congrats man |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
…sation: https://github.com/lorol/arduino-esp32littlefs-plugin https://github.com/lorol/LITTLEFS espressif/arduino-esp32#3765 #include <FS.h> #define SPIFFS LITTLEFS #include <LITTLEFS.h>
…sation: https://github.com/lorol/arduino-esp32littlefs-plugin https://github.com/lorol/LITTLEFS espressif/arduino-esp32#3765 #include <FS.h> #define SPIFFS LITTLEFS #include <LITTLEFS.h>
…sation: https://github.com/lorol/arduino-esp32littlefs-plugin https://github.com/lorol/LITTLEFS espressif/arduino-esp32#3765 #include <FS.h> #define SPIFFS LITTLEFS #include <LITTLEFS.h>
Hello .. Good night.
I've been designing an aquarium controller for a few years.
I currently use ESP8266, the code has already been ported and adapted to run on ESP32. Fantastic speed and differences between MCUs.
I'm still using SPIFFS in ESP32, because I didn't see anything native to LITTLEFS. By my studies it is more reliable and I have been using it for some time on ESP8266.
Any chance of LITTLEFS being incorporated into the CORE ARDUINO ESP32?
The text was updated successfully, but these errors were encountered: