The build system automatically determines offsets of partitions from the partition table, so no manual changes are needed. Instead, add a note that partition offsets may need to be updated when increasing the bootloader size.
17 lines
825 B
Text
17 lines
825 B
Text
# Special partition table for unit test app
|
|
#
|
|
# Name, Type, SubType, Offset, Size, Flags
|
|
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
|
|
nvs, data, nvs, 0x9000, 0x4000
|
|
otadata, data, ota, 0xd000, 0x2000
|
|
phy_init, data, phy, 0xf000, 0x1000
|
|
factory, 0, 0, 0x10000, 0x260000
|
|
# these OTA partitions are used for tests, but can't fit real OTA apps in them
|
|
# (done this way to reduce total flash usage.)
|
|
ota_0, 0, ota_0, , 64K
|
|
ota_1, 0, ota_1, , 64K
|
|
# flash_test partition used for SPI flash tests, WL FAT tests, and SPIFFS tests
|
|
flash_test, data, fat, , 528K
|
|
nvs_key, data, nvs_keys, , 0x1000, encrypted
|
|
|
|
# Note: still 1MB of a 4MB flash left free for some other purpose
|