-
Notifications
You must be signed in to change notification settings - Fork 289
LittleFS
btsimonh edited this page Nov 1, 2022
·
1 revision
LittleFS is a flash FS for embedded devices which allows you to store files on your device.
As of 2022-11-01, it's default size is 32 KBytes.
The LFS flash shares with the OTA flash area, but by reducing the size, it does not get overwritten by OTA.
The following commands operate against the LFS:
lfssize - log the current size and configured size of the LFS flash
lfssize 0xnnnn
- configure a new size and store in device config.
e.g. lfssize 0x80000
for the max 512 kbyte FS.
e.g. lfssize 0x18000
for a 96 kbyte FS.
lfsunmount
lfsmount
lfsformat
- format the current LFS
lfsformat 0xnnnn
- configure the size and format the LFS
The files in the LFS can be managed from the webapp.
Wiki Home Link