Hello and thanks for reading. I am working with the NRF5340DK and Zephyr (SDK 2.5.0).
As our project has grown, we can no longer fit all our code and MCU boot in the internal flash. Seeing as the DK has an external flash chip on QSPI, we figured we would use that to store our code.
We started out with the example provided in the developer academy, and that worked well.
It seemed wasteful, however, to have 8K of flash and to only use ~1K, keeping the second MCUBOOT image on the NRF5340's internal flash.
Also, our code has kept growing, so we decided to try and put both the primary and secondary slots for MCUBOOT on the external flash, with two images of 4K each.
This is leading to problems with setting up our PM_Static.yml, and I was hopeful you could take a look and help us figure out what we are doing wrong.
Here is my PM_Static.yml right now:
And here are the relevant error messages:
And here are the project configs in case that helps you:
MCUBoot project config:
mcuboot overlay:
prj.conf