865abba197
Changes introduced are: - the application offset is now loaded from the partition table instead of being hard-coded to 0x10000 - maximum size of all sections is computed using the partition table - an error is generated if any section overflows its allocated space - remaining bytes are printed for each section Signed-off-by: Damien George <damien@micropython.org>
11 lines
500 B
Plaintext
11 lines
500 B
Plaintext
# Partition table for MicroPython with OTA support using 4MB 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, 0x180000,
|
|
ota_1, app, ota_1, 0x190000, 0x180000,
|
|
vfs, data, fat, 0x310000, 0x0f0000,
|