micropython/ports/esp32/partitions-2MiB.csv
Damien George 865abba197 esp32/makeimg.py: Load sizes from partition table and verify data fits.
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>
2021-06-11 15:43:49 +10:00

350 B

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
4nvs, data, nvs, 0x9000, 0x6000,
5phy_init, data, phy, 0xf000, 0x1000,
6factory, app, factory, 0x10000, 0x110000,
7vfs, data, fat, 0x120000, 0xA0000,