Env: SEGGER Embedded Studio success build many mesh sdk project; Nordic command line also install and run.
1. Install windows amd64 ncs sdk 1.7.1
2. Click "Open IDE" button , select
nRF Connect SDK Release :1.7.1
nRF Connect TOolchain Version: 1.7.1
Project : light_ctrl (select "Getting Started", "Short Range")
Board Name: thingy91_nrf52840 (select Nordic Thingy", "Nordic kits")
Build error information :
Creating solution light_ctrl.emProject
C:/Users/yugr_/ncs/v1.7.1/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=thingy91_nrf52840 -DBOARD_DIR=C:\Users\yugr_\ncs\v1.7.1\nrf\boards\arm\thingy91_nrf52840 -BC:\Users\yugr_\ncs\v1.7.1\nrf\samples\bluetooth\mesh\light_ctrl\build_thingy91_nrf52840 -SC:\Users\yugr_\ncs\v1.7.1\nrf\samples\bluetooth\mesh\light_ctrl -DNCS_TOOLCHAIN_VERSION=1.7.1 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\Users\yugr_\ncs\v1.7.1\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
-- Application: C:/Users/yugr_/ncs/v1.7.1/nrf/samples/bluetooth/mesh/light_ctrl
-- Zephyr version: 2.6.99 (C:/Users/yugr_/ncs/v1.7.1/zephyr), build: v2.6.99-ncs1-1
-- Found Python3: C:/Users/yugr_/ncs/v1.7.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
-- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
-- Board: thingy91_nrf52840
-- Cache files will be written to: C:/Users/yugr_/ncs/v1.7.1/zephyr/.cache
-- Found dtc: C:/Users/yugr_/ncs/v1.7.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (C:/Users/yugr_/ncs/v1.7.1/toolchain/opt)
-- Found BOARD.dts: C:/Users/yugr_/ncs/v1.7.1/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840.dts
-- Generated zephyr.dts: C:/Users/yugr_/ncs/v1.7.1/nrf/samples/bluetooth/mesh/light_ctrl/build_thingy91_nrf52840/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/Users/yugr_/ncs/v1.7.1/nrf/samples/bluetooth/mesh/light_ctrl/build_thingy91_nrf52840/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: C:/Users/yugr_/ncs/v1.7.1/nrf/samples/bluetooth/mesh/light_ctrl/build_thingy91_nrf52840/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: C:/Users/yugr_/ncs/v1.7.1/nrf/samples/bluetooth/mesh/light_ctrl/build_thingy91_nrf52840/zephyr/dts.cmake
Parsing C:/Users/yugr_/ncs/v1.7.1/zephyr/Kconfig
Loaded configuration 'C:/Users/yugr_/ncs/v1.7.1/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840_defconfig'
Merged configuration 'C:/Users/yugr_/ncs/v1.7.1/nrf/samples/bluetooth/mesh/light_ctrl/prj.conf'
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base): C:/Users/yugr_/ncs/v1.7.1/zephyr/cmake/app/boilerplate.cmake
-- Using NCS Toolchain 1.7.1 for building. (C:/Users/yugr_/ncs/v1.7.1/toolchain/cmake)
warning: BT_CTLR_DUP_FILTER_LEN (defined at subsys/bluetooth\controller/Kconfig:150) was assigned
the value '0' but got the value ''. Check these unsatisfied dependencies: BT_CTLR (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_BT_CTLR_DUP_FILTER_LEN.html and/or
look up BT_CTLR_DUP_FILTER_LEN 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.
warning: the hex symbol NRF_MODEM_LIB_SHMEM_CTRL_SIZE (defined at C:/Users/yugr_/ncs/v1.7.1/nrf\lib\nrf_modem_lib/Kconfig:105) has a non-hex default NRF_MODEM_SHMEM_CTRL_SIZE (undefined)
warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/Users/yugr_/ncs/v1.7.1/nrf\modules\memfault/Kconfig:167) defined with type unknown
warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/Users/yugr_/ncs/v1.7.1/nrf\modules\memfault/Kconfig:167) defined without a prompt
warning: the default selection MEMFAULT_HTTP_PERIODIC_UPLOAD_USE_DEDICATED_WORKQUEUE (undefined) of <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/Users/yugr_/ncs/v1.7.1/nrf\modules\memfault/Kconfig:167) is not contained in the choice
warning: HAS_NORDIC_DRIVERS (defined at modules\hal_nordic\Kconfig:7) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
- SOC_SERIES_NRF52X (defined at soc/arm/nordic_nrf\nrf52\Kconfig.series:6), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)
warning: HAS_NRFX (defined at modules\hal_nordic\nrfx/Kconfig:4) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
- SOC_SERIES_NRF52X (defined at soc/arm/nordic_nrf\nrf52\Kconfig.series:6), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)
warning: NRFX_CLOCK (defined at modules\hal_nordic\nrfx/Kconfig:14) has direct dependencies HAS_HW_NRF_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- CLOCK_CONTROL_NRF (defined at drivers/clock_control/Kconfig.nrf:13), with value y, direct dependencies SOC_COMPATIBLE_NRF && CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT && SOC_COMPATIBLE_NRF && CLOCK_CONTROL (value: y)
warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at modules\hal_nordic\nrfx/Kconfig:18) has direct dependencies NRFX_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at drivers/clock_control/Kconfig.nrf:36), with value y, direct dependencies <choice CLOCK_CONTROL_NRF_SOURCE> (value: y), and select condition !SOC_SERIES_BSIM_NRFXX && !CLOCK_CONTROL_NRF_FORCE_ALT && <choice CLOCK_CONTROL_NRF_SOURCE> (value: y)
warning: NRFX_GPIOTE (defined at modules\hal_nordic\nrfx/Kconfig:65) has direct dependencies HAS_HW_NRF_GPIOTE && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- GPIO_NRFX (defined at drivers/gpio/Kconfig.nrfx:4), with value y, direct dependencies SOC_FAMILY_NRF && GPIO (value: y), and select condition SOC_FAMILY_NRF && GPIO (value: y)
warning: NRFX_NVMC (defined at modules\hal_nordic\nrfx/Kconfig:87) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- SOC_FLASH_NRF (defined at drivers/flash/Kconfig.nrf:10), with value y, direct dependencies SOC_FAMILY_NRF && !FLASH_NRF_FORCE_ALT && FLASH (value: y), and select condition SOC_FAMILY_NRF && !FLASH_NRF_FORCE_ALT && FLASH (value: y)
warning: NRFX_PPI (defined at modules\hal_nordic\nrfx/Kconfig:101, drivers/serial/Kconfig.nrfx:371) has direct dependencies (HAS_HW_NRF_PPI && HAS_NRFX && 0) || (HAS_HW_NRF_PPI && (UART_0_NRF_HW_ASYNC || UART_1_NRF_HW_ASYNC || UART_2_NRF_HW_ASYNC || UART_3_NRF_HW_ASYNC) && UART_NRFX && SERIAL) with value n, but is currently being y-selected by the following symbols:
- UART_ENHANCED_POLL_OUT (defined at drivers/serial/Kconfig.nrfx:388), with value y, direct dependencies (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) && UART_NRFX && SERIAL (value: y), and select condition HAS_HW_NRF_PPI && (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) && UART_NRFX && SERIAL (value: y)
error: Aborting due to Kconfig warnings
CMake Error at C:/Users/yugr_/ncs/v1.7.1/zephyr/cmake/kconfig.cmake:268 (message):
command failed with return code: 1
Call Stack (most recent call first):
C:/Users/yugr_/ncs/v1.7.1/zephyr/cmake/app/boilerplate.cmake:554 (include)
C:/Users/yugr_/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
C:/Users/yugr_/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
CMakeLists.txt:8 (find_package)
error: cmake failed
create_nordic_project.py failed (1)