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>
8 lines
337 B
Plaintext
8 lines
337 B
Plaintext
# 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, 0x180000,
|
|
vfs, data, fat, 0x200000, 0x200000,
|