Aborting due to Kconfig warnings error with zephyr-dwm1001

Steps to reproduce.

1. Installed zephyr and the SDK following https://docs.zephyrproject.org/latest/develop/getting_started/index.html

2. Cloned https://github.com/RT-LOC/zephyr and sourced zephyr-env.sh

3. Ran zephyr-sdk-0.16.4/setup.sh

4. Cloned https://github.com/RT-LOC/zephyr-dwm1001

Followed the instructions in the README.md file. 

  • cd examples/ex_01a_simple_tx
  • mkdir build
  • cd build
  • cmake -GNinja -DBOARD=decawave_dwm1001_dev ..
    [ NOTE: I had to change  to -DBOARD=nrf52_dwm1001 to -DBOARD=decawave_dwm1001_dev]

When I run this, I get a bunch of errors. See below. Any help highly appreciated!

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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_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 Documents/code/RT-LOC/zephyr/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_SPI1 (defined at modules/hal_nordic/nrfx/Kconfig:220) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:

 - SPI_NRFX_SPI (defined at drivers/spi/Kconfig.nrfx:15), with value y, direct dependencies DT_HAS_NORDIC_NRF_SPI_ENABLED && SPI_NRFX && SPI (value: y), and select condition HAS_HW_NRF_SPI1 && DT_HAS_NORDIC_NRF_SPI_ENABLED && SPI_NRFX && SPI (value: y)

warning: NRFX_SPI2 (defined at modules/hal_nordic/nrfx/Kconfig:225) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:

 - SPI_NRFX_SPI (defined at drivers/spi/Kconfig.nrfx:15), with value y, direct dependencies DT_HAS_NORDIC_NRF_SPI_ENABLED && SPI_NRFX && SPI (value: y), and select condition HAS_HW_NRF_SPI2 && DT_HAS_NORDIC_NRF_SPI_ENABLED && SPI_NParsing Documents/code/RT-LOC/zephyr/Kconfig

Loaded configuration 'Documents/code/RT-LOC/zephyr/boards/arm/decawave_dwm1001_dev/decawave_dwm1001_dev_defconfig'

Merged configuration 'Documents/code/zephyr-dwm1001/examples/ex_01a_simple_tx/prj.conf'

RFX && SPI (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)

error: Aborting due to Kconfig warnings

Related