i changed the net-core flash partition and saved it to pm_static.yml.
everything is ok while i build multi-image(mcuboot, cpuapp, b0n, cpunet) until my partner wants to build single net-core image.
it always prompts "Partition manager failed: Incorrect amount of gaps found in static configuration.".
is here anyone who can help me to solve this problem?
complier prompt this:
Partition 'nvs_storage' is not included in the dynamic resolving since it is statically defined.
Partition manager failed: Incorrect amount of gaps found in static configuration. There must be exactly one gap in the static configuration to support placing the dynamic partitions (such as 'app'). Gaps found (0): The most common solution to this problem is to fill the smallest of these gaps with statically defined partition(s) until there is only one gap left. Alternatively re-order the already defined static partitions so that only one gap remains.
Failed to partition region flash_primary, size of region: 262144
Partition Configuration:
app:
size: 210944
b0n:
placement:
after:
- start
size: 34304
b0n_container:
size: 34816
hci_rpmsg:
size: 210944
nvs_storage:
placement:
after:
- hci_rpmsg
size: 16384
provision:
placement:
after:
- b0n
size: 512
the follow is the content of pm_static.yml file.
# pm_static.yml
app:
address: 0x1008800
end_address: 0x103C000
orig_span: &id001
- hci_rpmsg
region: flash_primary
size: 0x33800
span: *id001
nvs_storage:
address: 0x103C000
end_address: 0x1040000
size: 0x4000
placement:
after:
- hci_rpmsg
region: flash_primary
b0n:
address: 0x1000000
end_address: 0x1008600
placement:
after:
- start
region: flash_primary
size: 0x8600
b0n_container:
address: 0x1000000
end_address: 0x1008800
orig_span: &id002
- b0n
- provision
region: flash_primary
size: 0x8800
span: *id002
hci_rpmsg:
address: 0x1008800
end_address: 0x103C000
region: flash_primary
size: 0x33800
provision:
address: 0x1008600
end_address: 0x1008800
placement:
after:
- b0n
region: flash_primary
size: 0x200
sram_primary:
address: 0x21000000
end_address: 0x21010000
region: sram_primary
size: 0x10000