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.
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.
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.
Yep
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.
If you use static partitioning, it will be exactly like that. You can change the pm_static.yml file though.
So if i do not want to use the external flash, what should i do now?
You need to get the space from somewhere.
If you cannot take it from the app, try to use parts of the EMPTY_0 (this is not used for anyhing else), NVS or the setting partition.
For the last two, you should be a bit careful, but maybe you can do some tests to see how much of them are used in an example?
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.
Yep
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.
If you use static partitioning, it will be exactly like that. You can change the pm_static.yml file though.
So if i do not want to use the external flash, what should i do now?
You need to get the space from somewhere.
If you cannot take it from the app, try to use parts of the EMPTY_0 (this is not used for anyhing else), NVS or the setting partition.
For the last two, you should be a bit careful, but maybe you can do some tests to see how much of them are used in an example?