Search found 109 matches: littlefs

Searched query: littlefs

by bbqporkkenton
Fri Jul 31, 2020 8:06 am
Forum: ESP32 boards
Topic: LittleFS sample code in ESP32 .c/.cpp task
Replies: 0
Views: 480

LittleFS sample code in ESP32 .c/.cpp task

... or Task. I can only find some code like "mp_vfs_lfs2_file_open" but don't know how to use it. Can anyone help me to find the sample code of Littlefs in esp32 task? Thank you all!
by v923z
Sun Jul 26, 2020 9:20 pm
Forum: ESP8266 boards
Topic: ulab for ESP8266
Replies: 19
Views: 637

Re: ulab for ESP8266

... or third-party libraries. Yes, I agree that it is impossible to cover all possible options when building a firmware (SP/DF, threads, FAT/LittleFS, btree or not, filesystem or not, ulab or not, etc). But look at Pyboard download page , it has the main configurations (SP, DP, SP + threads, ...
by rcolistete
Sun Jul 26, 2020 9:09 pm
Forum: ESP8266 boards
Topic: ulab for ESP8266
Replies: 19
Views: 637

Re: ulab for ESP8266

... or third-party libraries. Yes, I agree that it is impossible to cover all possible options when building a firmware (SP/DF, threads, FAT/LittleFS, btree or not, filesystem or not, ulab or not, etc). But look at Pyboard download page , it has the main configurations (SP, DP, SP + threads, ...
by Ricardo
Thu Jun 18, 2020 5:39 pm
Forum: General Discussion and Questions
Topic: littlefs - advantages & disadvantages
Replies: 32
Views: 4642

Re: littlefs - advantages & disadvantages

I lost my LittleFS partition. It seems it isn't resilient to power failure after all, at least on the ESP32 with firmware esp32-idf3-20200509-unstable-v1.12-447-gab4e19770. Everything was working fine for a few days, including ...
by mcL
Tue Jun 16, 2020 12:37 am
Forum: ESP8266 boards
Topic: [SOLVED] Problem running latest GENERIC_1M firmware on Sonoff
Replies: 18
Views: 1292

Re: [SOLVED] Problem running latest GENERIC_1M firmware on Sonoff

... sure I didn't have with 1.12-release. Isn't umqtt included in the build? I see it in the github micropython-lib. Also, how do I determine if littlefs succeeded? I thought it doesn't have file timestamps, but 'ls -l' shows dates ('course they're all Dec 31, 1999 so maybe that's the indication). ...
by kevinkk525
Fri Jun 12, 2020 7:05 am
Forum: General Discussion and Questions
Topic: Config file, read or write - safety.
Replies: 3
Views: 965

Re: Config file, read or write - safety.

prem111 wrote:
Thu Jun 11, 2020 7:18 pm
why littlefs ?
viewtopic.php?f=2&t=7228
by prem111
Thu Jun 11, 2020 7:18 pm
Forum: General Discussion and Questions
Topic: Config file, read or write - safety.
Replies: 3
Views: 965

Re: Config file, read or write - safety.

Thanks ! one more question... why littlefs ?
by jimmo
Wed Jun 10, 2020 6:23 am
Forum: General Discussion and Questions
Topic: Config file, read or write - safety.
Replies: 3
Views: 965

Re: Config file, read or write - safety.

... file? I am afraid that when saving, for example, if there was no power, the file might not be saved completely ... The two things to ensure: - Use LittleFS rather than FAT - Don't overwrite the in-use file, write a new file, then delete the old one. Detect the correct one to use at startup. The ...
by urielka
Fri May 29, 2020 2:44 pm
Forum: ESP32 boards
Topic: Pre-bake vfs partition
Replies: 1
Views: 170

Re: Pre-bake vfs partition

For anyone who might care:
Seems to work :)

Use https://pypi.org/project/littlefs-python/ for editing the filesystem, I missed the fact it is using littlefs and not vfat
by chuckbook
Tue May 12, 2020 3:41 pm
Forum: Pyboard D-series
Topic: Flash ROM, external QSPI, v1.1 vs. D's three variants
Replies: 3
Views: 398

Re: Flash ROM, external QSPI, v1.1 vs. D's three variants

... only provided for their simple usage. They are not meant for permanent rw operations like data logging as they don't obey any wear leveling rules. Littlefs, which is supported in MP, would be a better solution but it doesn't provide easy methods for host access.