Dear Nordic Technical Support,
I'm writing to report an issue I'm experiencing when trying to integrate MCUboot with a Zigbee R23 project for the nRF54L15 platform.
Issue Description: When attempting to build a basic Zigbee R23 project with MCUboot support (without any FOTA functionality yet), the build process fails during the MCUboot compilation phase. The main application builds successfully, but the bootloader build fails with the following error:
C:/ncs/ZB_for290_R23_031/ncs-zigbee/subsys/osif/zb_nrf_pwr_mgmt.c:9:10: fatal error: zboss_api.h: No such file or directory 9 | #include <zboss_api.h> | ^~~~~~~~~~~~~ compilation terminated.
Environment:
-
Hardware: nRF54L15 Development Kit
-
SDK: nRF Connect SDK with Zigbee R23 add-on (ZB_for290_R23_031)
-
Build system: West/CMake
Steps Taken:
-
Created a basic Zigbee R23 project that builds successfully without bootloader
-
Added MCUboot configuration through sysbuild.conf with
SB_CONFIG_BOOTLOADER_MCUBOOT=y
-
Created configuration files in the sysbuild directory to disable components that shouldn't be needed for the bootloader:
-
Added mcuboot.conf with
CONFIG_SERIAL=n
,CONFIG_SPI=n
,CONFIG_SPI_NOR=n
, etc. -
Attempted to disable Zigbee components in the bootloader with
CONFIG_ZIGBEE=n
,CONFIG_ZIGBEE_ADD_ON=n
-
Despite these configurations, the build system still attempts to include Zigbee libraries in the bootloader build, which causes the compilation error.
Goal: My ultimate goal is to implement FOTA updates in my Zigbee R23 application, but I'm currently blocked at this initial stage of just integrating the bootloader.
I would appreciate any guidance on how to properly configure the build system to exclude Zigbee components from the MCUboot build, or any other approach to resolve this issue.
Thank you for your assistance.
Best regards, Andris M.