Hi,
We have a few questions regarding the pm_static.yml file that's used for defining flash partitions in zephyr.
Our main questions are regarding alignment; we've created a partition "device_details_partition" where we plan on writing configuration values at manufacturing using nrfjprog via an external nRF53DK.
These values should be permanent for the lifecycle of the device and will only ever be read in the application firmware, never overwritten. "device_details_partition" needs to have static memory locations so we know where to write/read.
The "device_details_partition" is only 16 bytes long so we're unable to align it to 4kb, we've defined it as follows;
Some questions we had about this implementation:
- Could having the size and end address of mcuboot_primary and mcuboot_primary_app not 4kb aligned cause any issues?
- Is there a better way we can create "device_details_partition"? A section of flash which can be flashed externally.
Below is our full pm_static.yml