Hello,
I am trying to use nRF52840-MDK as usb dongle and was suggested to use sample bluetooth project in this repo to create hex file and deploy to the board.
I have setup dev environemnt and installed dependencies, yet it is failing with : -- Configuring incomplete, errors occurred!
The tutorial I used for setup is from here
The suggestion about bluetooth was from here
The full log of error is as follows:
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /home/asch/Projects/nrf52840-mdk/examples/zephyr/bluetooth/peripheral_hr
-- CMake version: 3.25.1
-- Cache files will be written to: /home/asch/.cache/zephyr
-- Zephyr version: 3.5.99 (/home/asch/Projects/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52840_mdk
-- Found toolchain: gnuarmemb (/usr/local/bin/gcc-arm-none-eabi-10.3-2021.10/)
-- Found BOARD.dts: /home/asch/Projects/zephyr/boards/arm/nrf52840_mdk/nrf52840_mdk.dts
-- Generated zephyr.dts: /home/asch/Projects/nrf52840-mdk/examples/zephyr/bluetooth/peripheral_hr/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/asch/Projects/nrf52840-mdk/examples/zephyr/bluetooth/peripheral_hr/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/asch/Projects/nrf52840-mdk/examples/zephyr/bluetooth/peripheral_hr/build/zephyr/dts.cmake
warning: Deprecated symbol BT_DEBUG_LOG is enabled.
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: TINYCRYPT (defined at soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw40z4:21, soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw41z4:30, modules/Kconfig.tinycrypt:9) has direct dependencies (SOC_MKW40Z4 && SOC_SERIES_KINETIS_KWX) || (ENTROPY_GENERATOR && SOC_MKW41Z4 && SOC_SERIES_KINETIS_KWX) || ZEPHYR_TINYCRYPT_MODULE with value n, but is currently being y-selected by the following symbols:
- BT_RPA (defined at subsys/bluetooth/common/Kconfig:255), with value y, direct dependencies BT_HCI && BT (value: y), and select condition BT_HCI && BT (value: y)
- BT_GATT_CACHING (defined at subsys/bluetooth/host/Kconfig.gatt:108), with value y, direct dependencies BT_GATT_SERVICE_CHANGED && BT_CONN && BT_HCI_HOST && BT_HCI && BT (value: y), and select condition BT_GATT_SERVICE_CHANGED && BT_CONN && BT_HCI_HOST && BT_HCI && BT (value: y)
- BT_TINYCRYPT_ECC (defined at subsys/bluetooth/host/Kconfig:938), with value y, direct dependencies BT_ECC && (BT_HCI_RAW || BT_HCI_HOST) && BT_HCI && BT (value: y), and select condition BT_ECC && (BT_HCI_RAW || BT_HCI_HOST) && BT_HCI && BT (value: y)
- BT_CRYPTO (defined at subsys/bluetooth/crypto/Kconfig:4), with value y, direct dependencies BT_HCI && BT (value: y), and select condition BT_HCI && BT (value: y)
warning: HAS_CMSIS_CORE (defined at modules/cmsis/Kconfig:7) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
- CPU_CORTEX_M (defined at arch/arm/core/Kconfig:6), with value y, direct dependencies ARM (value: y), and select condition ARM (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:16) has direct dependencies 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 DT_HAS_NORDIC_NRF_CLOCK_ENABLED && CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT && DT_HAS_NORDIC_NRF_CLOCK_ENABLED && CLOCK_CONTROL (value: y)
warning: NRFX_GPIOTE (defined at modules/hal_nordic/nrfx/Kconfig:65) has direct dependencies 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 DT_HAS_NORDIC_NRF_GPIO_ENABLED && GPIO (value: y), and select condition DT_HAS_NORDIC_NRF_GPIO_ENABLED && GPIO (value: y)
warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at modules/hal_nordic/nrfx/Kconfig:20) 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)
Parsing /home/asch/Projects/zephyr/Kconfig
Loaded configuration '/home/asch/Projects/zephyr/boards/arm/nrf52840_mdk/nrf52840_mdk_defconfig'
Merged configuration '/home/asch/Projects/nrf52840-mdk/examples/zephyr/bluetooth/peripheral_hr/prj.conf'
error: Aborting due to Kconfig warnings
CMake Error at /home/asch/Projects/zephyr/cmake/modules/kconfig.cmake:355 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/asch/Projects/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
/home/asch/Projects/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/asch/Projects/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
/home/asch/Projects/zephyr/cmake/app/boilerplate.cmake:25 (find_package)
CMakeLists.txt:2 (include)
-- Configuring incomplete, errors occurred!
Hello, I am trying to use nRF52840-MDK as usb dongle and was suggested to use sample bluetooth project in this repo to create hex file and deploy to the board. I have setup dev environemnt and installed dependencies, yet it is failing with :
-- Configuring incomplete, errors occurred!
About the system I am working on:
The tutorial I used for setup is from here The suggestion about bluetooth was from here
The full log of error is as follows: