Hi, I can successfully build the Matter light bulb example in nRF Connect SDK 1.9.1 but I fail to do the same in v1.9.99-dev1.
What did you change?
Here the error:
west build -b nrf52840dk_nrf52840 -d build_nrf52840dk_nrf52840 -- -DCONF_FILE=prj_no_dfu.conf-- west build: generating a build systemIncluding boilerplate (Zephyr base): /home/marco/Pingeco/exp/ncs/zephyr/cmake/app/boilerplate.cmake-- Application: /home/marco/Pingeco/exp/ncs/nrf/samples/matter/light_bulb-- Zephyr version: 2.7.99 (/home/marco/Pingeco/exp/ncs/zephyr), build: v2.7.99-ncs1-1-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")-- Board: nrf52840dk_nrf52840-- Cache files will be written to: /home/marco/.cache/zephyr-- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")-- Found toolchain: gnuarmemb (/usr/lib/gcc-arm-none-eabi-9-2019-q4-major)-- Found BOARD.dts: /home/marco/Pingeco/exp/ncs/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts-- Found devicetree overlay: /home/marco/Pingeco/exp/ncs/nrf/samples/matter/light_bulb/configuration/nrf52840dk_nrf52840/nrf52840dk_nrf52840.overlay-- Generated zephyr.dts: /home/marco/Pingeco/exp/ncs/nrf/samples/matter/light_bulb/build_nrf52840dk_nrf52840/zephyr/zephyr.dts-- Generated devicetree_unfixed.h: /home/marco/Pingeco/exp/ncs/nrf/samples/matter/light_bulb/build_nrf52840dk_nrf52840/zephyr/include/generated/devicetree_unfixed.h-- Generated device_extern.h: /home/marco/Pingeco/exp/ncs/nrf/samples/matter/light_bulb/build_nrf52840dk_nrf52840/zephyr/include/generated/device_extern.h-- Including generated dts.cmake file: /home/marco/Pingeco/exp/ncs/nrf/samples/matter/light_bulb/build_nrf52840dk_nrf52840/zephyr/dts.cmakeParsing /home/marco/Pingeco/exp/ncs/zephyr/KconfigLoaded configuration '/home/marco/Pingeco/exp/ncs/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig'Merged configuration '/home/marco/Pingeco/exp/ncs/nrf/samples/matter/light_bulb/configuration/nrf52840dk_nrf52840/prj_no_dfu.conf'
warning: Experimental symbol CHIP is enabled.
warning: ZTEST_STACK_SIZE (defined at /home/marco/Pingeco/exp/ncs/nrf/Kconfig.nrf:44) defined without a type
warning: <choice OPENTHREAD_STACK_VERSION> (defined at /home/marco/Pingeco/exp/ncs/nrf/subsys/net/openthread/Kconfig.defconfig:13) defined with type unknown
warning: <choice OPENTHREAD_STACK_VERSION> (defined at /home/marco/Pingeco/exp/ncs/nrf/subsys/net/openthread/Kconfig.defconfig:13) defined without a prompt
warning: the default selection OPENTHREAD_THREAD_VERSION_1_2 (defined at subsys/net/l2/openthread/Kconfig.features:13) of <choice OPENTHREAD_STACK_VERSION> (defined at /home/marco/Pingeco/exp/ncs/nrf/subsys/net/openthread/Kconfig.defconfig:13) is not contained in the choice
error: Aborting due to Kconfig warnings
CMake Error at /home/marco/Pingeco/exp/ncs/zephyr/cmake/kconfig.cmake:272 (message): command failed with return code: 1Call Stack (most recent call first): /home/marco/Pingeco/exp/ncs/zephyr/cmake/app/boilerplate.cmake:544 (include) /home/marco/Pingeco/exp/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) /home/marco/Pingeco/exp/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:15 (find_package)
-- Configuring incomplete, errors occurred!FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/marco/Pingeco/exp/ncs/nrf/samples/matter/light_bulb/build_nrf52840dk_nrf52840 -S/home/marco/Pingeco/exp/ncs/nrf/samples/matter/light_bulb -GNinja -DBOARD=nrf52840dk_nrf52840 -DCONF_FILE=prj_no_dfu.conf
Apparently the OpenThread stack version is not defined and it complains about the default one. I could not find anything about it in the documentation: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/matter/light_bulb/README.html#matter-light-bulb
Thank you.
