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
  • Hi Peter,

    Thank you for the log files. So far I have not been able to make sense of it. The nanopb library is a bit unusual as there are external (python) scripts involved for generating protobuf parsers. I have inquired internally about the combination of these two features, and will investigate further.

    I'll let you know as soon as I know more, but unfortunately I can't tell how soon that would be.

    Best regards,

    Raoul Pathak

Reply
  • Hi Peter,

    Thank you for the log files. So far I have not been able to make sense of it. The nanopb library is a bit unusual as there are external (python) scripts involved for generating protobuf parsers. I have inquired internally about the combination of these two features, and will investigate further.

    I'll let you know as soon as I know more, but unfortunately I can't tell how soon that would be.

    Best regards,

    Raoul Pathak

Children
No Data
Related