C:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs>west build -b nrf5340dk_nrf5340_cpuapp -- west build: generating a build system Including boilerplate (Zephyr base): C:/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake CMake Deprecation Warning at C:/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy): The OLD behavior for policy CMP0079 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:8 (find_package) -- Application: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs -- Using NCS Toolchain 1.6.1 for building. (D:/ncs/v1.6.1/toolchain/cmake) -- Zephyr version: 2.6.0-rc1 (C:/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1 -- Found Python3: D:/ncs/v1.6.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter -- Found west (found suitable version "0.11.0", minimum required is "0.7.1") -- Board: nrf5340dk_nrf5340_cpuapp -- Cache files will be written to: C:/ncs/v1.6.1/zephyr/.cache -- Found dtc: D:/ncs/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (D:/ncs/v1.6.1/toolchain/opt) -- Found BOARD.dts: C:/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Generated zephyr.dts: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/build/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/build/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/build/zephyr/include/generated/device_extern.h warning: the hex symbol NRF_MODEM_LIB_SHMEM_CTRL_SIZE (defined at C:/ncs/v1.6.1/nrf\lib\nrf_modem_lib/Kconfig:71) has a non-hex default NRF_MODEM_SHMEM_CTRL_SIZE (undefined) warning: MBEDTLS_SHA1_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls.defconfig:9, C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:1) defined without a type warning: MBEDTLS_SHA512_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:4) defined without a type warning: MBEDTLS_TLS_LIBRARY (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:9) defined without a type warning: MBEDTLS_X509_LIBRARY (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:12) defined without a type warning: MBEDTLS_DHM_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:18) defined without a type warning: MBEDTLS_ECP_C (defined at C:Parsing C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/Kconfig Loaded configuration 'C:/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration 'C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/prj.conf' /ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:21) defined without a type warning: MBEDTLS_HMAC_DRBG_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:24) defined without a type warning: MBEDTLS_CIPHER_MODE_CBC (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:27) defined without a type warning: MBEDTLS_CIPHER_MODE_CTR (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:30) defined without a type warning: MBEDTLS_CMAC_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:33) defined without a type warning: MBEDTLS_CCM_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:36) defined without a type warning: MBEDTLS_GCM_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:39) defined without a type warning: MBEDTLS_CHACHA20_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:42) defined without a type warning: MBEDTLS_POLY1305_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:45) defined without a type warning: MBEDTLS_PSA_CRYPTO_STORAGE_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:48) defined without a type warning: (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) defined with type unknown warning: (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) defined without a prompt warning: the default selection CC3XX_ATOMIC_LOCK (undefined) of (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) is not contained in the choice warning: the default selection CC3XX_HW_MUTEX_LOCK (undefined) of (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) is not contained in the choice warning: (defined at C:/ncs/v1.6.1/nrf\modules\memfault/Kconfig:160) defined with type unknown warning: (defined at C:/ncs/v1.6.1/nrf\modules\memfault/Kconfig:160) defined without a prompt warning: the default selection MEMFAULT_HTTP_PERIODIC_UPLOAD_USE_DEDICATED_WORKQUEUE (undefined) of (defined at C:/ncs/v1.6.1/nrf\modules\memfault/Kconfig:160) is not contained in the choice error: Aborting due to Kconfig warnings CMake Error at C:/ncs/v1.6.1/zephyr/cmake/kconfig.cmake:264 (message): command failed with return code: 1 Call Stack (most recent call first): C:/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake:555 (include) C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:8 (find_package) -- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python310\python.exe' '-BC:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs\build' '-SC:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs' -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp C:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs>