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>
500 B
500 B
1 | # Partition table for MicroPython with OTA support using 4MB 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, 0x180000, |
9 | ota_1, app, ota_1, 0x190000, 0x180000, |
10 | vfs, data, fat, 0x310000, 0x0f0000, |