Zephyr MCUboot compilation errors

Hi,

I am working with NCS 2.0.2, nRF52833 custom board, Visual Studio Code for nRF. The project works ok and is compiled ok in a non MCUboot version. When trying to add MCUboot by adding CONFIG_BOOTLOADER_MCUBOOT=y to project conf file and adding child_image dir with a standrd mcuboot.conf file I am getting several errors - missing header files that are of course present as the non-MCUboot version gets compiled correctly. These are files from nanopb lib: pb.h, pb_encode.h, pb_decode.h and also generated file syscalls/wpc.h (wpc is  custom driver).

I tried to search forum and other sources but havent found any useful hint. My guess is that I will probably need to modify the main CMakeLists.txt file.

Can somebody advise me what to change in the project? Any hint?

A fast response is appreciated.

Thanx.

Best regards,

peter

Parents Reply
  • Hi Peter,

    If I've understood correctly, simply enabling MCUboot prevents you from using the nanopb library in your application? You're not somehow trying to include nanopb in the MCUboot image?

    Additional info would indeed be helpful! Would it be possible for you to share a zip of your application with us? And could you share your build log? This would help me understand the situation better.

    Best regards,

    Raoul

Children
No Data
Related