MCUBoot: adding custom serial flash driver as secondary partition

We use spi flash with custom driver and goal is to set it to act as secondary partition for MCUBoot.

The question is how to adapt driver to be accepted by MCUBoot, maybe there is an example on how driver should look like?

As far as I understand Nordic supports mx25r64, what files have to be produced and where to place them to enable custom driver to be accepted by MCUBoot?

Parents Reply
  • mesh777 said:
    I need to make it out-of-tree anyway, could you please check how to proceed with that.

    Yes, of course I can look into that. I'll do it tomorrow.

    However, I think it is smart to try to resolve one issue at the time. So I would recommend this approach:

    1. Add your driver in-tree and make sure it works
    2. Add your fully working driver out-of-tree
Children
Related