Enabling MCUboot error in zigbee demo

Hi,

I am working on zigbee demo "light_switch" with NCS2.8 Add-on SDK.I enabled MCUboot according to the steps in the course "Lesson 9 – Bootloaders and DFU/FOTA"

1 enable "SB_CONFIG_BOOTLOADER_MCUBOOT=y" in sysbuild.conf   

2 enable "CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y" in overlay-multiprotocol_ble.conf.

#
# Copyright (c) 2024 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# BLE configuration
CONFIG_BT=y
CONFIG_BT_SMP=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="Zigbee_Switch"
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_BT_MAX_CONN=1
CONFIG_BT_MAX_PAIRED=1
CONFIG_BT_PHY_UPDATE=n

# Enable the NUS service
CONFIG_BT_NUS=y

# Enable bonding
CONFIG_SETTINGS=y
CONFIG_BT_SETTINGS=y

CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y

SB_CONFIG_BOOTLOADER_MCUBOOT=y

But it compiles with the following error " fatal error: zboss_api.h: No such file or directory".

...

Parents Reply Children
  •  *  Executing task: nRF Connect: Build [pristine]: light_switch_2/build 
    
    Building light_switch_2
    C:\windows\system32\cmd.exe /d /s /c "west build --build-dir d:/nordic-20250218/light_switch_2/build d:/nordic-20250218/light_switch_2 --pristine --board nrf54l15dk/nrf54l15/cpuapp --sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DEXTRA_CONF_FILE=overlay-multiprotocol_ble.conf -DCONF_FILE=prj.conf -DBOARD_ROOT=d:/nordic-20250218/light_switch_2"
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/Users/Administrator/workspace/zephyr/.cache
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
    Parsing d:/nordic-20250218/light_switch_2/Kconfig.sysbuild
    Loaded configuration 'D:/nordic-20250218/light_switch_2/build/_sysbuild/empty.conf'
    Merged configuration 'd:/nordic-20250218/light_switch_2/sysbuild.conf'
    Configuration saved to 'D:/nordic-20250218/light_switch_2/build/zephyr/.config'
    Kconfig header saved to 'D:/nordic-20250218/light_switch_2/build/_sysbuild/autoconf.h'
    -- 
       *****************************
       * Running CMake for mcuboot *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/Users/Administrator/workspace/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/Users/Administrator/workspace/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/Users/Administrator/workspace/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts
    -- Found devicetree overlay: D:/nordic-20250218/light_switch_2/sysbuild/mcuboot/app.overlay
    unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1
    -- Generated zephyr.dts: D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/dts.cmake
    
    warning: NRF_RTC_TIMER_USER_CHAN_COUNT (defined at
    C:/Users/Administrator/workspace/zephyr/soc/nordic\nrf53\Kconfig.sync_rtc:23,
    drivers/timer/Kconfig.nrf_rtc:20) was assigned the value '0' but got the value ''. Check these
    unsatisfied dependencies: ((NRF53_SYNC_RTC && SOC_SERIES_NRF53X && SOC_FAMILY_NORDIC_NRF) ||
    (NRF_RTC_TIMER && SYS_CLOCK_EXISTS)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT and/or look
    up NRF_RTC_TIMER_USER_CHAN_COUNT in the menuconfig/guiconfig interface. The Application Development
    Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
    might be helpful too.
    
    Parsing C:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'C:/Users/Administrator/workspace/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig'
    Merged configuration 'D:/nordic-20250218/light_switch_2/sysbuild/mcuboot/prj.conf'
    Merged configuration 'D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/.config.sysbuild'
    Configuration saved to 'D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/.config'
    Kconfig header saved to 'D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Setting build type to 'MinSizeRel' as none was specified.
    CMake Warning at C:/Users/Administrator/workspace/zephyr/CMakeLists.txt:952 (message):
      No SOURCES given to Zephyr library: drivers__spi
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: C:/Users/Administrator/workspace/bootloader/mcuboot/root-rsa-2048.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/nordic-20250218/light_switch_2/build/mcuboot
    -- 
       ************************************
       * Running CMake for light_switch_2 *
       ************************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: D:/nordic-20250218/light_switch_2
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/Users/Administrator/workspace/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/Users/Administrator/workspace/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/Users/Administrator/workspace/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts
    -- Found devicetree overlay: D:/nordic-20250218/light_switch_2/boards/nrf54l15dk_nrf54l15_cpuapp.overlay
    unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1
    -- Generated zephyr.dts: D:/nordic-20250218/light_switch_2/build/light_switch_2/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/nordic-20250218/light_switch_2/build/light_switch_2/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: D:/nordic-20250218/light_switch_2/build/light_switch_2/zephyr/dts.cmake
    
    warning: Experimental symbol ZIGBEE_ADD_ON is enabled.
    
    Parsing D:/nordic-20250218/light_switch_2/Kconfig
    Loaded configuration 'C:/Users/Administrator/workspace/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig'
    Merged configuration 'D:/nordic-20250218/light_switch_2/prj.conf'
    Merged configuration 'D:/nordic-20250218/light_switch_2/overlay-multiprotocol_ble.conf'
    Merged configuration 'D:/nordic-20250218/light_switch_2/build/light_switch_2/zephyr/.config.sysbuild'
    Configuration saved to 'D:/nordic-20250218/light_switch_2/build/light_switch_2/zephyr/.config'
    Kconfig header saved to 'D:/nordic-20250218/light_switch_2/build/light_switch_2/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== End psa_crypto_config ===============
    =========== Generating psa_crypto_library_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== End psa_crypto_library_config ===============
    -- Setting build type to 'MinSizeRel' as none was specified.
    -- Including signing script: C:/Users/Administrator/workspace/nrf/cmake/sysbuild/image_signing.cmake
    CMake Warning at C:/Users/Administrator/workspace/zephyr/CMakeLists.txt:2134 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/nordic-20250218/light_switch_2/build/light_switch_2
    CMake Warning at C:/Users/Administrator/workspace/nrf/cmake/sysbuild/partition_manager.cmake:106 (message):
      
    
            ---------------------------------------------------------------------
            --- WARNING: Using a bootloader without pm_static.yml.            ---
            --- There are cases where a deployed product can consist of       ---
            --- multiple images, and only a subset of these images can be     ---
            --- upgraded through a firmware update mechanism. In such cases,  ---
            --- the upgradable images must have partitions that are static    ---
            --- and are matching the partition map used by the bootloader     ---
            --- programmed onto the device.                                   ---
            ---------------------------------------------------------------------
            
    
    Call Stack (most recent call first):
      C:/Users/Administrator/workspace/nrf/cmake/sysbuild/partition_manager.cmake:630 (partition_manager)
      C:/Users/Administrator/workspace/nrf/sysbuild/CMakeLists.txt:661 (include)
      cmake/modules/sysbuild_extensions.cmake:583 (nrf_POST_CMAKE)
      cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)
      cmake/modules/sysbuild_images.cmake:23 (sysbuild_module_call)
      cmake/modules/sysbuild_default.cmake:20 (include)
      C:/Users/Administrator/workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      C:/Users/Administrator/workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      C:/Users/Administrator/workspace/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/nordic-20250218/light_switch_2/build
    -- west build: building application
    [6/290] Generating include/generated/zephyr/version.h
    -- Zephyr version: 3.7.99 (C:/Users/Administrator/workspace/zephyr), build: v3.7.99-ncs1
    [259/290] Building C object modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_platform.c.obj
    FAILED: modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_platform.c.obj 
    C:\ncs\toolchains\2d382dcd92\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DCUSTOM_IEEE802154_L2=ZIGBEE_L2 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF54L15_XXAA -DNRF_APPLICATION -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DUSE_PARTITION_MANAGER=1 -DZIGBEE_L2=ZIGBEE_ADD_ON -D__PROGRAM_START -D__ZEPHYR__=1 -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr -IC:/Users/Administrator/workspace/zephyr/include -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated -IC:/Users/Administrator/workspace/zephyr/soc/nordic -IC:/Users/Administrator/workspace/zephyr/soc/nordic/nrf54l/. -IC:/Users/Administrator/workspace/zephyr/soc/nordic/common/. -IC:/Users/Administrator/workspace/ncs-zigbee/include -IC:/Users/Administrator/workspace/nrf/include -IC:/Users/Administrator/workspace/nrf/tests/include -IC:/Users/Administrator/workspace/modules/hal/cmsis/CMSIS/Core/Include -IC:/Users/Administrator/workspace/zephyr/modules/cmsis/. -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/drivers/include -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/mdk -IC:/Users/Administrator/workspace/zephyr/modules/hal_nordic/nrfx/. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include/library -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/library -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/configs -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -IC:/Users/Administrator/workspace/ncs-zigbee/subsys/osif -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/minimal/include -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -Os -DNDEBUG -fno-strict-aliasing -Os -imacros D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/Users/Administrator/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/Users/Administrator/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/Users/Administrator/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_platform.c.obj -MF modules\ncs-zigbee\subsys\CMakeFiles\..__ncs-zigbee__subsys.dir\osif\zb_nrf_platform.c.obj.d -o modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_platform.c.obj -c C:/Users/Administrator/workspace/ncs-zigbee/subsys/osif/zb_nrf_platform.c
    C:/Users/Administrator/workspace/ncs-zigbee/subsys/osif/zb_nrf_platform.c:23:10: fatal error: zboss_api.h: No such file or directory
       23 | #include <zboss_api.h>
          |          ^~~~~~~~~~~~~
    compilation terminated.
    [260/290] Building C object modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_transceiver.c.obj
    FAILED: modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_transceiver.c.obj 
    C:\ncs\toolchains\2d382dcd92\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DCUSTOM_IEEE802154_L2=ZIGBEE_L2 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF54L15_XXAA -DNRF_APPLICATION -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DUSE_PARTITION_MANAGER=1 -DZIGBEE_L2=ZIGBEE_ADD_ON -D__PROGRAM_START -D__ZEPHYR__=1 -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr -IC:/Users/Administrator/workspace/zephyr/include -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated -IC:/Users/Administrator/workspace/zephyr/soc/nordic -IC:/Users/Administrator/workspace/zephyr/soc/nordic/nrf54l/. -IC:/Users/Administrator/workspace/zephyr/soc/nordic/common/. -IC:/Users/Administrator/workspace/ncs-zigbee/include -IC:/Users/Administrator/workspace/nrf/include -IC:/Users/Administrator/workspace/nrf/tests/include -IC:/Users/Administrator/workspace/modules/hal/cmsis/CMSIS/Core/Include -IC:/Users/Administrator/workspace/zephyr/modules/cmsis/. -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/drivers/include -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/mdk -IC:/Users/Administrator/workspace/zephyr/modules/hal_nordic/nrfx/. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include/library -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/library -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/configs -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -IC:/Users/Administrator/workspace/ncs-zigbee/subsys/osif -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/minimal/include -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -Os -DNDEBUG -fno-strict-aliasing -Os -imacros D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/Users/Administrator/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/Users/Administrator/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/Users/Administrator/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_transceiver.c.obj -MF modules\ncs-zigbee\subsys\CMakeFiles\..__ncs-zigbee__subsys.dir\osif\zb_nrf_transceiver.c.obj.d -o modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_transceiver.c.obj -c C:/Users/Administrator/workspace/ncs-zigbee/subsys/osif/zb_nrf_transceiver.c
    C:/Users/Administrator/workspace/ncs-zigbee/subsys/osif/zb_nrf_transceiver.c:13:10: fatal error: zboss_api.h: No such file or directory
       13 | #include <zboss_api.h>
          |          ^~~~~~~~~~~~~
    compilation terminated.
    [266/290] Building C object modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_crypto.c.obj
    FAILED: modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_crypto.c.obj 
    C:\ncs\toolchains\2d382dcd92\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DCUSTOM_IEEE802154_L2=ZIGBEE_L2 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF54L15_XXAA -DNRF_APPLICATION -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DUSE_PARTITION_MANAGER=1 -DZIGBEE_L2=ZIGBEE_ADD_ON -D__PROGRAM_START -D__ZEPHYR__=1 -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr -IC:/Users/Administrator/workspace/zephyr/include -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated -IC:/Users/Administrator/workspace/zephyr/soc/nordic -IC:/Users/Administrator/workspace/zephyr/soc/nordic/nrf54l/. -IC:/Users/Administrator/workspace/zephyr/soc/nordic/common/. -IC:/Users/Administrator/workspace/ncs-zigbee/include -IC:/Users/Administrator/workspace/nrf/include -IC:/Users/Administrator/workspace/nrf/tests/include -IC:/Users/Administrator/workspace/modules/hal/cmsis/CMSIS/Core/Include -IC:/Users/Administrator/workspace/zephyr/modules/cmsis/. -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/drivers/include -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/mdk -IC:/Users/Administrator/workspace/zephyr/modules/hal_nordic/nrfx/. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include/library -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/library -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/configs -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -IC:/Users/Administrator/workspace/ncs-zigbee/subsys/osif -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/minimal/include -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -Os -DNDEBUG -fno-strict-aliasing -Os -imacros D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/Users/Administrator/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/Users/Administrator/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/Users/Administrator/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_crypto.c.obj -MF modules\ncs-zigbee\subsys\CMakeFiles\..__ncs-zigbee__subsys.dir\osif\zb_nrf_crypto.c.obj.d -o modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_crypto.c.obj -c C:/Users/Administrator/workspace/ncs-zigbee/subsys/osif/zb_nrf_crypto.c
    C:/Users/Administrator/workspace/ncs-zigbee/subsys/osif/zb_nrf_crypto.c:9:10: fatal error: zboss_api.h: No such file or directory
        9 | #include <zboss_api.h>
          |          ^~~~~~~~~~~~~
    compilation terminated.
    [267/290] Building C object modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_pwr_mgmt.c.obj
    FAILED: modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_pwr_mgmt.c.obj 
    C:\ncs\toolchains\2d382dcd92\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DCUSTOM_IEEE802154_L2=ZIGBEE_L2 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF54L15_XXAA -DNRF_APPLICATION -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DUSE_PARTITION_MANAGER=1 -DZIGBEE_L2=ZIGBEE_ADD_ON -D__PROGRAM_START -D__ZEPHYR__=1 -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr -IC:/Users/Administrator/workspace/zephyr/include -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated -IC:/Users/Administrator/workspace/zephyr/soc/nordic -IC:/Users/Administrator/workspace/zephyr/soc/nordic/nrf54l/. -IC:/Users/Administrator/workspace/zephyr/soc/nordic/common/. -IC:/Users/Administrator/workspace/ncs-zigbee/include -IC:/Users/Administrator/workspace/nrf/include -IC:/Users/Administrator/workspace/nrf/tests/include -IC:/Users/Administrator/workspace/modules/hal/cmsis/CMSIS/Core/Include -IC:/Users/Administrator/workspace/zephyr/modules/cmsis/. -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/drivers/include -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/mdk -IC:/Users/Administrator/workspace/zephyr/modules/hal_nordic/nrfx/. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include/library -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/library -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/configs -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -IC:/Users/Administrator/workspace/ncs-zigbee/subsys/osif -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/minimal/include -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -Os -DNDEBUG -fno-strict-aliasing -Os -imacros D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/Users/Administrator/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/Users/Administrator/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/Users/Administrator/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_pwr_mgmt.c.obj -MF modules\ncs-zigbee\subsys\CMakeFiles\..__ncs-zigbee__subsys.dir\osif\zb_nrf_pwr_mgmt.c.obj.d -o modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_pwr_mgmt.c.obj -c C:/Users/Administrator/workspace/ncs-zigbee/subsys/osif/zb_nrf_pwr_mgmt.c
    C:/Users/Administrator/workspace/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.
    [270/290] Building C object modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_nvram.c.obj
    FAILED: modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_nvram.c.obj 
    C:\ncs\toolchains\2d382dcd92\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DCUSTOM_IEEE802154_L2=ZIGBEE_L2 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF54L15_XXAA -DNRF_APPLICATION -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DUSE_PARTITION_MANAGER=1 -DZIGBEE_L2=ZIGBEE_ADD_ON -D__PROGRAM_START -D__ZEPHYR__=1 -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr -IC:/Users/Administrator/workspace/zephyr/include -ID:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated -IC:/Users/Administrator/workspace/zephyr/soc/nordic -IC:/Users/Administrator/workspace/zephyr/soc/nordic/nrf54l/. -IC:/Users/Administrator/workspace/zephyr/soc/nordic/common/. -IC:/Users/Administrator/workspace/ncs-zigbee/include -IC:/Users/Administrator/workspace/nrf/include -IC:/Users/Administrator/workspace/nrf/tests/include -IC:/Users/Administrator/workspace/modules/hal/cmsis/CMSIS/Core/Include -IC:/Users/Administrator/workspace/zephyr/modules/cmsis/. -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/drivers/include -IC:/Users/Administrator/workspace/modules/hal/nordic/nrfx/mdk -IC:/Users/Administrator/workspace/zephyr/modules/hal_nordic/nrfx/. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/include/library -IC:/Users/Administrator/workspace/modules/crypto/mbedtls/library -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/configs -IC:/Users/Administrator/workspace/zephyr/modules/mbedtls/include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/Users/Administrator/workspace/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -IC:/Users/Administrator/workspace/ncs-zigbee/subsys/osif -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/minimal/include -isystem C:/Users/Administrator/workspace/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -Os -DNDEBUG -fno-strict-aliasing -Os -imacros D:/nordic-20250218/light_switch_2/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/Users/Administrator/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/Administrator/workspace/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/Users/Administrator/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/Users/Administrator/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_nvram.c.obj -MF modules\ncs-zigbee\subsys\CMakeFiles\..__ncs-zigbee__subsys.dir\osif\zb_nrf_nvram.c.obj.d -o modules/ncs-zigbee/subsys/CMakeFiles/..__ncs-zigbee__subsys.dir/osif/zb_nrf_nvram.c.obj -c C:/Users/Administrator/workspace/ncs-zigbee/subsys/osif/zb_nrf_nvram.c
    C:/Users/Administrator/workspace/ncs-zigbee/subsys/osif/zb_nrf_nvram.c:11:10: fatal error: zboss_api.h: No such file or directory
       11 | #include <zboss_api.h>
          |          ^~~~~~~~~~~~~
    compilation terminated.
    [272/290] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
    ninja: build stopped: subcommand failed.
    [10/20] No configure step for 'light_switch_2'
    FAILED: _sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build D:/nordic-20250218/light_switch_2/build/_sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build 
    cmd.exe /C "cd /D D:\nordic-20250218\light_switch_2\build\mcuboot && C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.exe --build ."
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.EXE' --build D:/nordic-20250218/light_switch_2/build
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    

Related