LITTLEFS update - partition label and multiple partitions, idea copied from SPIFFS (#5023)

Note, maxOpenFiles parameter is unused but kept for compatibility.
This commit is contained in:
lorol
2021-04-15 07:31:01 -04:00
committed by GitHub
parent 81b7c47203
commit 9a518cd3d7
4 changed files with 80 additions and 19 deletions

View File

@ -0,0 +1,8 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x100000,
app1, app, ota_1, ,0x100000,
spiffs, data, spiffs, ,0x1D0000,
part2, data, spiffs, ,0x20000,
#1048576
1 # Name, Type, SubType, Offset, Size, Flags
2 nvs, data, nvs, 0x9000, 0x5000,
3 otadata, data, ota, 0xe000, 0x2000,
4 app0, app, ota_0, 0x10000, 0x100000,
5 app1, app, ota_1, ,0x100000,
6 spiffs, data, spiffs, ,0x1D0000,
7 part2, data, spiffs, ,0x20000,
8 #1048576