mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
26800ed71e
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.
825 B
825 B
1 | # Special partition table for unit test app |
---|---|
2 | # |
3 | # Name, Type, SubType, Offset, Size, Flags |
4 | # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap |
5 | nvs, data, nvs, 0x9000, 0x4000 |
6 | otadata, data, ota, 0xd000, 0x2000 |
7 | phy_init, data, phy, 0xf000, 0x1000 |
8 | factory, 0, 0, 0x10000, 0x260000 |
9 | # these OTA partitions are used for tests, but can't fit real OTA apps in them |
10 | # (done this way to reduce total flash usage.) |
11 | ota_0, 0, ota_0, , 64K |
12 | ota_1, 0, ota_1, , 64K |
13 | # flash_test partition used for SPI flash tests, WL FAT tests, and SPIFFS tests |
14 | flash_test, data, fat, , 528K |
15 | nvs_key, data, nvs_keys, , 0x1000, encrypted |
16 | # Note: still 1MB of a 4MB flash left free for some other purpose |