Missing mcuboot_config.h

We moved a Zephyr project to SDK 3.0.2. After that it is possible to compile it on Mac and Linux machines but on WSL I'm getting an error:

 /home/psiem/FW2/deps/zephyr/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/img_mgmt_client.c
In file included from /home/psiem/FW2/deps/bootloader/mcuboot/boot/bootutil/include/bootutil/image.h:33,
                 from /home/psiem/FW2/deps/zephyr/include/zephyr/mgmt/mcumgr/grp/img_mgmt/img_mgmt.h:14,
                 from /home/psiem/FW2/deps/zephyr/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/img_mgmt_client.c:23:
/home/psiem/FW2/deps/bootloader/mcuboot/boot/bootutil/include/bootutil/fault_injection_hardening.h:57:10: fatal error: mcuboot_config/mcuboot_config.h: No such file or directory
   57 | #include "mcuboot_config/mcuboot_config.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Looks like I miss some environment configuration. Where MCUboot configuration is located ?

Parents
  • Hello,

    I have exactly the same issue after moving from NCS v3.0.1 to v3.1.0. Is there any new configuration that makes the mcuboot_config/mcuboot_config.h included? The same configuration works fine when using NCS v3.0.1.

    Edit:

    If I change fault_injection_hardening.h from:

    #include "mcuboot_config/mcuboot_config.h"

    to:
    #include "../../zephyr/include/mcuboot_config/mcuboot_config.h"


    the application builds without issues.

    Do you have any idea what is wrong with the configuration?

Reply
  • Hello,

    I have exactly the same issue after moving from NCS v3.0.1 to v3.1.0. Is there any new configuration that makes the mcuboot_config/mcuboot_config.h included? The same configuration works fine when using NCS v3.0.1.

    Edit:

    If I change fault_injection_hardening.h from:

    #include "mcuboot_config/mcuboot_config.h"

    to:
    #include "../../zephyr/include/mcuboot_config/mcuboot_config.h"


    the application builds without issues.

    Do you have any idea what is wrong with the configuration?

Children
Related