ncs 2.8.0 Matter light switch build failure

Hello,

I am facing an issue building the Matter light switch example for nRF5340 for ncs 2.8.0.

C:/ncs/2.8.0/workspace/ncs-zigbee/subsys/osif/zb_nrf_pwr_mgmt.c:9:10: fatal error: zboss_api.h: No such file or directory

Include zboss_api.h is not working in zb_nrf_pwr_mgmt.c

Setup

development software: VSCode / ncs 2.8.0
Computer platform: Windows 11
hardware revisions: PCA10095 2.0.0

Build log

 

C:/ncs/2.8.0/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.
[186/502] 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=8192 -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-user-config.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_802154_ACK_TIMEOUT_ENABLED=1 -DNRF_802154_CARRIER_FUNCTIONS_ENABLED=0 -DNRF_802154_CCA_CORR_LIMIT_DEFAULT=2 -DNRF_802154_CCA_CORR_THRESHOLD_DEFAULT=45 -DNRF_802154_CCA_ED_THRESHOLD_DEFAULT=45 -DNRF_802154_CCA_MODE_DEFAULT=NRF_RADIO_CCA_MODE_ED -DNRF_802154_ECB_PRIORITY=-1 -DNRF_802154_ENCRYPTION_ENABLED=1 -DNRF_802154_IE_WRITER_ENABLED=1 -DNRF_802154_INTERNAL_RADIO_IRQ_HANDLING=0 -DNRF_802154_PENDING_EXTENDED_ADDRESSES=16 -DNRF_802154_PENDING_SHORT_ADDRESSES=16 -DNRF_802154_PLATFORM_ASSERT_INCLUDE=\"nrf_802154_assert_zephyr.h\" -DNRF_802154_RX_BUFFERS=16 -DNRF_802154_SECURITY_KEY_STORAGE_SIZE=3 -DNRF_802154_SECURITY_WRITER_ENABLED=1 -DNRF_802154_SERIALIZATION_HOST=1 -DNRF_802154_SWI_PRIORITY=1 -DNRF_802154_TX_STARTED_NOTIFY_ENABLED=1 -DNRF_802154_USE_RAW_API=1 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -DZCBOR_ASSERTS -DZCBOR_CANONICAL -DZIGBEE_L2=ZIGBEE_ADD_ON -D_ANSI_SOURCE -D__FILE__=__FILE_NAME__ -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/2.8.0/workspace/2.8.0_light_switch/build/2.8.0_light_switch/zephyr/include/generated/zephyr -IC:/ncs/2.8.0/workspace/zephyr/include -IC:/ncs/2.8.0/workspace/2.8.0_light_switch/build/2.8.0_light_switch/zephyr/include/generated -IC:/ncs/2.8.0/workspace/zephyr/soc/nordic -IC:/ncs/2.8.0/workspace/zephyr/lib/libc/newlib/include -IC:/ncs/2.8.0/workspace/zephyr/soc/nordic/nrf53/. -IC:/ncs/2.8.0/workspace/zephyr/soc/nordic/common/. -IC:/ncs/2.8.0/workspace/zephyr/subsys/bluetooth -IC:/ncs/2.8.0/workspace/zephyr/subsys/settings/include -IC:/ncs/2.8.0/workspace/ncs-zigbee/include -IC:/ncs/2.8.0/workspace/nrf/include -IC:/ncs/2.8.0/workspace/nrf/subsys/trusted_storage/include -IC:/ncs/2.8.0/workspace/nrf/tests/include -IC:/ncs/2.8.0/workspace/zephyr/modules/openthread/platform/. -IC:/ncs/2.8.0/workspace/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/2.8.0/workspace/zephyr/modules/cmsis/. -IC:/ncs/2.8.0/workspace/modules/hal/nordic/nrfx -IC:/ncs/2.8.0/workspace/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/2.8.0/workspace/modules/hal/nordic/nrfx/mdk -IC:/ncs/2.8.0/workspace/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/2.8.0/workspace/2.8.0_light_switch/build/2.8.0_light_switch/modules/libmetal/libmetal/lib/include -IC:/ncs/2.8.0/workspace/modules/lib/open-amp/open-amp/lib/include -IC:/ncs/2.8.0/workspace/modules/crypto/tinycrypt/lib/include -IC:/ncs/2.8.0/workspace/modules/lib/zcbor/include -IC:/ncs/2.8.0/workspace/nrfxlib/nfc/include -IC:/ncs/2.8.0/workspace/nrfxlib/openthread/include -IC:/ncs/2.8.0/workspace/nrfxlib/crypto/nrf_oberon/include -IC:/ncs/2.8.0/workspace/nrfxlib/crypto/nrf_oberon/include/mbedtls -IC:/ncs/2.8.0/workspace/2.8.0_light_switch/build/2.8.0_light_switch/generated/library_nrf_security_psa -IC:/ncs/2.8.0/workspace/nrf/subsys/nrf_security/include -IC:/ncs/2.8.0/workspace/nrf/subsys/nrf_security/src/threading/include -IC:/ncs/2.8.0/workspace/nrf/subsys/nrf_security/src/utils -IC:/ncs/2.8.0/workspace/modules/crypto/oberon-psa-crypto/oberon/drivers -IC:/ncs/2.8.0/workspace/modules/crypto/oberon-psa-crypto/include -IC:/ncs/2.8.0/workspace/modules/crypto/oberon-psa-crypto/library -IC:/ncs/2.8.0/workspace/modules/crypto/mbedtls/library -IC:/ncs/2.8.0/workspace/modules/crypto/mbedtls/include -IC:/ncs/2.8.0/workspace/modules/crypto/mbedtls/include/library -IC:/ncs/2.8.0/workspace/nrfxlib/nrf_802154/serialization/include -IC:/ncs/2.8.0/workspace/nrfxlib/nrf_802154/serialization/include/platform -IC:/ncs/2.8.0/workspace/nrfxlib/nrf_802154/serialization/include/serialization -IC:/ncs/2.8.0/workspace/nrfxlib/nrf_802154/common/include -IC:/ncs/2.8.0/workspace/zephyr/modules/hal_nordic/nrf_802154/include -IC:/ncs/2.8.0/workspace/nrfxlib/softdevice_controller/include -IC:/ncs/2.8.0/workspace/ncs-zigbee/subsys/osif -isystem C:/ncs/2.8.0/workspace/zephyr/lib/libc/common/include -isystem C:/ncs/2.8.0/workspace/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/ncs/2.8.0/workspace/2.8.0_light_switch/build/2.8.0_light_switch/zephyr/include/generated/zephyr/autoconf.h -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:/ncs/2.8.0/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:/ncs/2.8.0/workspace/2.8.0_light_switch=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/2.8.0/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/2.8.0/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -D_POSIX_THREADS -Wno-builtin-macro-redefined -std=c99 -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:/ncs/2.8.0/workspace/ncs-zigbee/subsys/osif/zb_nrf_pwr_mgmt.c
C:/ncs/2.8.0/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.
[192/502] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
ninja: build stopped: subcommand failed.
[23/50] Generating new Factory Data...
[INFO] Generating SPAKE2+ Verifier...

[WARNING] KEY password has not been provided. It means that DAC key is not encrypted.

[INFO] Validating JSON with schema...

[INFO] Validate OK

FAILED: _sysbuild/sysbuild/images/2.8.0_light_switch-prefix/src/2.8.0_light_switch-stamp/2.8.0_light_switch-build C:/ncs/2.8.0/workspace/2.8.0_light_switch/build/_sysbuild/sysbuild/images/2.8.0_light_switch-prefix/src/2.8.0_light_switch-stamp/2.8.0_light_switch-build
cmd.exe /C "cd /D C:\ncs\2.8.0\workspace\2.8.0_light_switch\build\2.8.0_light_switch && 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 C:/ncs/2.8.0/workspace/2.8.0_light_switch/build

* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

Could you help me to fix this issue?

Regards

Parents Reply Children
No Data
Related