Added 2 ffat partition schemes for 4MB modules + improved descriptions. (#2623)

* Added 2 ffat partition schemes for 4MB modules + improved descriptions.

Existing format options were unclear on how much spiffs you were
getting. Also add missing 1MB App/3MB Spiffs split.
This addresses https://github.com/espressif/arduino-esp32/issues/1799

This makes it very clear what each option gives you, and also adds 2 options
to get ffat on 4MB chips..

* Added link to ffat howto.
This commit is contained in:
Marc MERLIN
2019-04-09 17:34:31 -07:00
committed by Me No Dev
parent 92220b7643
commit 53a4bf33b6
5 changed files with 35 additions and 5 deletions

View File

@ -5,3 +5,4 @@ app0, app, ota_0, 0x10000, 0x200000,
app1, app, ota_1, 0x210000,0x200000,
eeprom, data, 0x99, 0x410000,0x1000,
ffat, data, fat, 0x411000,0xBEE000,
# to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage

1 # Name # Name, Type, SubType, Offset, Size, Flags Type SubType Offset Size Flags
5 app1 app1, app, ota_1, 0x210000,0x200000, app ota_1 0x210000 0x200000
6 eeprom eeprom, data, 0x99, 0x410000,0x1000, data 0x99 0x410000 0x1000
7 ffat ffat, data, fat, 0x411000,0xBEE000, data fat 0x411000 0xBEE000
8 # to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage

View File

@ -0,0 +1,6 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x100000,
eeprom, data, 0x99, 0x110000,0x1000,
spiffs, data, spiffs, 0x111000,0x2EF000,
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 eeprom data 0x99 0x110000 0x1000
6 spiffs data spiffs 0x111000 0x2EF000

View File

@ -0,0 +1,7 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x100000,
eeprom, data, 0x99, 0x110000,0x1000,
ffat, data, fat, 0x111000,0x2EF000,
# to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage
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 eeprom, data, 0x99, 0x110000,0x1000,
6 ffat, data, fat, 0x111000,0x2EF000,
7 # to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage

View File

@ -0,0 +1,7 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x200000,
eeprom, data, 0x99, 0x210000,0x1000,
ffat, data, fat, 0x211000,0x1EF000,
# to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage
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, 0x200000,
5 eeprom, data, 0x99, 0x210000,0x1000,
6 ffat, data, fat, 0x211000,0x1EF000,
7 # to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage