How can I build signed app without building mcuboot every time?

Hi,

I have been trying for months now and don't seem to find a way to build a signed app for mcuboot without having to build the whole mcuboot itself.

In the board files, there is partition section which specifies mcuboot and app partitions, meaning the app should know where its supposed to start.

In prj.conf you can specify which key file to use when signing.

But still, no matter what I try, it forces me to build the whole mcuboot while building my app.

How can I build and sign my app without building or needing mcuboot?

BR

Parents
  • Hi,

    I don't recall experiencing this problem. I can edit the application source and perform incremental builds without it forcing a rebuild of the bootloader. 

    Here is the build log after I have modified main.c for the parent application (notice that ninja reports "no work to do" for the child-images).

    Have you tried to check if you can reproduce this other SDK samples?

    Best regards,

    Vidar

Reply
  • Hi,

    I don't recall experiencing this problem. I can edit the application source and perform incremental builds without it forcing a rebuild of the bootloader. 

    Here is the build log after I have modified main.c for the parent application (notice that ninja reports "no work to do" for the child-images).

    Have you tried to check if you can reproduce this other SDK samples?

    Best regards,

    Vidar

Children
No Data
Related