Search found 78 matches: littlefs

Searched query: littlefs

by ok8266
Fri Jan 17, 2020 10:49 am
Forum: ESP8266 boards
Topic: The file system, raw flash and wear levelling
Replies: 5
Views: 290

Re: The file system, raw flash and wear levelling

Thank you both for the suggestions. I was not aware of the littlefs option for ESP8266 and it seems to be in general a good solution to my problem. For various reasons (deployment...) I still wonder about my idea to preallocate a big file on the current ...
by pythoncoder
Wed Jan 15, 2020 7:38 am
Forum: Drivers for External Components
Topic: Drivers for EEPROM, FRAM and Flash chips
Replies: 0
Views: 471

Drivers for EEPROM, FRAM and Flash chips

... formatted and mounted as a filesystem using methods in the uos module. Any filesystem supported by the MicroPython build may be employed: FAT and littlefs have been tested. The latter is recommended. Drivers are portable: buses and pins should be instantiated using the machine module. Buses may ...
by pythoncoder
Thu Jan 09, 2020 6:36 pm
Forum: ESP8266 boards
Topic: Bug in "_boot.py" and enhance inisetup.py ?
Replies: 1
Views: 115

Re: Bug in "_boot.py" and enhance inisetup.py ?

The current default filesystem for ESP8266 is FAT: this is by design. If you want to implement littlefs you do have to make some changes.
by jedie
Thu Jan 09, 2020 3:42 pm
Forum: ESP8266 boards
Topic: Bug in "_boot.py" and enhance inisetup.py ?
Replies: 1
Views: 115

Bug in "_boot.py" and enhance inisetup.py ?

... too. But a question: In my project i also change the inisetup.py to this: ... import esp import flashbdev import uos FS_FAT = 'FAT' FS_LITTLEFS = 'LittleFS' def detect_filesystem(): buf = bytearray(16) flashbdev.bdev.readblocks(0, buf) if buf[3:8] == b'MSDOS': return FS_FAT elif buf[8:16] == b'littlefs': ...
by jimmo
Wed Jan 08, 2020 9:44 pm
Forum: ESP8266 boards
Topic: Creating larger ROMs
Replies: 23
Views: 1959

Re: Creating larger ROMs

The same would be possible with littlefs using the littlefs FUSE driver.
by jedie
Wed Jan 08, 2020 1:46 pm
Forum: ESP8266 boards
Topic: Creating larger ROMs
Replies: 23
Views: 1959

Re: Creating larger ROMs

Flash a premade filesystem to flash sounds interesting. (See also: viewtopic.php?f=2&t=7555 )

Has anybody tried to make this with LittleFS instead of FAT ?
by pythoncoder
Wed Jan 08, 2020 8:04 am
Forum: ESP32 boards
Topic: asynycio as_GPS
Replies: 36
Views: 1821

Re: litlefs

In testing a driver for flash chips I have run a torture test on littlefs, which it has run many times without failure. The test writes 128 binary files of random length between 1 and 65535 bytes to the device and checks their contents. It then (over many ...
by Roberthh
Tue Jan 07, 2020 7:30 pm
Forum: ESP32 boards
Topic: asynycio as_GPS
Replies: 36
Views: 1821

Re: asynycio as_GPS

Question about Flash: Filesystem: FatFs or LittleFS Which version do you think is the best? I am really looking forward to further help. Lopy1 has not a lot of RAM for the heap. It is like ~60k Lopy1 vs. 2 MByte Fipy. So the memory error on LoPy1 ...
by pythoncoder
Tue Jan 07, 2020 6:49 pm
Forum: ESP32 boards
Topic: asynycio as_GPS
Replies: 36
Views: 1821

Re: asynycio as_GPS

... know if this is a practical proposition with Pycom firmware. Do Pycom builds have uasyncio implemented as frozen bytecode? As for filesystems littlefs is better in that it has wear levelling. It also saves 4KiB of RAM, so it may help you in that respect too. The only drawback of littlefs is ...
by romeotango
Tue Jan 07, 2020 1:20 pm
Forum: ESP32 boards
Topic: asynycio as_GPS
Replies: 36
Views: 1821

Re: asynycio as_GPS

... gps-callback.py: Error can't allocate 138 bytes Conclusion: Lopy works. My LoPy (LoPy1) is not working. Question about Flash: Filesystem: FatFs or LittleFS Which version do you think is the best? I am really looking forward to further help.