enabling a partition in front of partition table (IDFGH-11338) #12486
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In real world project one finds himself with the need to place partitions before the partition table..
Reasons for that could be:
for Secure Boot V2 capailities (if desired to be used later), the max size for the bootloader is 0xC000 anyway
bootloader, 0xB0, 0x0B, 0x01000, 0xc000,
nvs, data, nvs, 0x0d000, 0x3000,
#part_table, data, 0xEE, 0x10000, 0x1000,
phy_init, data, phy, 0x11000, 0x1000,
otadata, data, ota, 0x12000, 0x2000,
emul_efuse, data, efuse, 0x14000, 0x2000,
nvs_keys, data, nvs_keys, 0x16000, 0x1000,
nvs_sys, data, nvs, 0x17000, 0x9000,
ota_0, app, ota_0, 0x20000, 0x140000,
ota_1, app, ota_1, 0x160000, 0x140000,
usr, data, nvs, 0x2a0000, 0x20000,
www, data, spiffs, 0x2c0000, 0x140000,
rfc