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
  • Thanks a lot for detailed information. I managed to make that driver is found and init function is called.

    I have some more questions: 

    Where to put/how to reference at25xe081.yaml in the module? At the moment I have same problem as before that dts property is not found.

    How to include files to the module from the project? I have shared files between module and application (driver itself is used by application and the wrapper inside the module). So module has to find source file and header files which belong to project tree.

Children
Related