This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MCU boot with external Flash littles partition and Secondary image partition

Hello ALL,

I am trying to use MCU boot with my application. I am using NRF916DK and it has external Flash similar to NR52840DK board. Now when I am creating a partition on external Flash and point LittleFs to that storage partition, after compiling when I see the partition.yml in the build folder, the LittleFs always in the primary Flash. I have tried few options as seen in the code but nothing is working. Can somebody please guide me on how I can enable these partitions and point secondary Image and littlefs to those partitions.

Here is my overlay file

Here is prj.conf

Here is my main.c

 

here is the partition.yml that is generated in the build folder after compilation