esp32: Add 32MiB partition table templates.

Signed-off-by: Patrick <patrick@joytech.com.au>
This commit is contained in:
Patrick 2022-11-09 00:21:53 +11:00 committed by Damien George
parent a2fd382c34
commit d0687e90ab
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# Partition table for MicroPython with OTA support using 32MB flash
# Notes: the offset of the partition table itself is set in
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x4000,
otadata, data, ota, 0xd000, 0x2000,
phy_init, data, phy, 0xf000, 0x1000,
ota_0, app, ota_0, 0x10000, 0x270000,
ota_1, app, ota_1, 0x280000, 0x270000,
vfs, data, fat, 0x4f0000, 0x1B10000,
1 # Partition table for MicroPython with OTA support using 32MB flash
2 # Notes: the offset of the partition table itself is set in
3 # $IDF_PATH/components/partition_table/Kconfig.projbuild.
4 # Name, Type, SubType, Offset, Size, Flags
5 nvs, data, nvs, 0x9000, 0x4000,
6 otadata, data, ota, 0xd000, 0x2000,
7 phy_init, data, phy, 0xf000, 0x1000,
8 ota_0, app, ota_0, 0x10000, 0x270000,
9 ota_1, app, ota_1, 0x280000, 0x270000,
10 vfs, data, fat, 0x4f0000, 0x1B10000,

View File

@ -0,0 +1,7 @@
# Notes: the offset of the partition table itself is set in
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 0x1F0000,
vfs, data, fat, 0x200000, 0x1E00000,
1 # Notes: the offset of the partition table itself is set in
2 # $IDF_PATH/components/partition_table/Kconfig.projbuild.
3 # Name, Type, SubType, Offset, Size, Flags
4 nvs, data, nvs, 0x9000, 0x6000,
5 phy_init, data, phy, 0xf000, 0x1000,
6 factory, app, factory, 0x10000, 0x1F0000,
7 vfs, data, fat, 0x200000, 0x1E00000,