Hi,
I want to configure the nRF9160's internal flash storage_partition, it has 32KB currently, I want to change it to 100KB. How to do that? Using nrf9160dk_nrf9160_ns.overlay or other method?
Thanks,
Liza
Hi,
I want to configure the nRF9160's internal flash storage_partition, it has 32KB currently, I want to change it to 100KB. How to do that? Using nrf9160dk_nrf9160_ns.overlay or other method?
Thanks,
Liza
Hi,
I will continue to help with this ticket.
I will start the explanation anew here, so bear with me.
When using the partition manager, the DTS partitioning will be overridden, so we will have to use the partition manager to configure the size of the partitions.
The storage partition is defined in flash_map_pm.h as either Settings, Littlefs, NVS or ZMS(new) storage.
You can use CONFIG_PM_PARTITION_SIZE_AAAA to configure your partitions size. See Partition Manager docs:
So if you for example will use this partition for NVS, set CONFIG_PM_PARTITION_SIZE_NVS.
You do not need to do static partitioning for this, but do remember the Static partition requriement for DFU later.
Let me know if your partition is for custom use, and I will help you with that.