During my test of the nrf5340 audio application which in the V2.6.0 SDK, Because of i need to store at least 13K data to the flash.
But when i build the project, i found the "\build\partitions.yml" file shows that.
EMPTY_0:
address: 0xfe000
end_address: 0x100000
placement:
after:
- settings_storage
region: flash_primary
size: 0x2000
app:
address: 0x0
end_address: 0xf6000
region: flash_primary
size: 0xf6000
nvs_storage:
address: 0xf6000
end_address: 0xfc000
placement:
before:
- end
region: flash_primary
size: 0x6000
otp:
address: 0xff8100
end_address: 0xff83fc
region: otp
size: 0x2fc
rpmsg_nrf53_sram:
address: 0x20070000
end_address: 0x20080000
placement:
before:
- end
region: sram_primary
size: 0x10000
settings_storage:
address: 0xfc000
end_address: 0xfe000
placement:
align:
start: 0x4000
before:
- end
region: flash_primary
size: 0x2000
sram_primary:
address: 0x20000000
end_address: 0x20070000
region: sram_primary
size: 0x70000
You can see there is only 0x2000 size for "EMPTY_0", but the app size is almost close to 1M.
But i want i can use at least 0x4000 size, But I dare not use 'settings storage' because I think the project may have used this partition to store some settings.
And i found that seems like the project enable the "USE_PARTITION_MANAGER", which i guess that makes the partition for flash0 in the device tree files invalid.
And I can't find where to adjust the size of these partitions. If i can, I think maybe I can reduce the sizd of app partitions appropriately.
So if i do not want to use the external flash, what should i do now?