Skip to content

Cmake error (aborting due to Kconfig warning) #14

@lokeycookie

Description

@lokeycookie

hi there,

i tried to cmake the example code in my dwm1001-dev board but i got the below error.
how do i resolve it?

(.venv) (base) evas@evas-VAPOR-17-PRO:~/Documents/GitHub/dwm1001/examples/ex_01a_simple_tx$ ./configure.sh
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /home/evas/Documents/GitHub/dwm1001/examples/ex_01a_simple_tx
-- CMake version: 3.29.6
-- Cache files will be written to: /home/evas/.cache/zephyr
-- Zephyr version: 3.5.99 (/home/evas/Documents/GitHub (copy)/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52_dwm1001
-- Found host-tools: zephyr 0.16.8 (/home/evas/zephyr-sdk-0.16.8)
-- Found toolchain: zephyr 0.16.8 (/home/evas/zephyr-sdk-0.16.8)
-- Found BOARD.dts: /home/evas/Documents/GitHub/dwm1001/boards/arm/nrf52_dwm1001/nrf52_dwm1001.dts
-- Generated zephyr.dts: /home/evas/Documents/GitHub/dwm1001/examples/ex_01a_simple_tx/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/evas/Documents/GitHub/dwm1001/examples/ex_01a_simple_tx/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/evas/Documents/GitHub/dwm1001/examples/ex_01a_simple_tx/build/zephyr/dts.cmake

warning: USE_SEGGER_RTT (defined at modules/segger/Kconfig:12) was assigned the value 'y' but got
the value 'n'. Check these unsatisfied dependencies: HAS_SEGGER_RTT (=n), 0 (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USE_SEGGER_RTT and/or look up
USE_SEGGER_RTT 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: SEGGER_RTT_MAX_NUM_UP_BUFFERS (defined at modules/segger/Kconfig:28) was assigned the value
'3' but got the value ''. Check these unsatisfied dependencies: USE_SEGGER_RTT (=n), 0 (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SEGGER_RTT_MAX_NUM_UP_BUFFERS and/or look
up SEGGER_RTT_MAX_NUM_UP_BUFFERS 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.

error: Aborting due to Kconfig warnings

Parsing /home/evas/Documents/GitHub (copy)/zephyr/Kconfig
Loaded configuration '/home/evas/Documents/GitHub/dwm1001/boards/arm/nrf52_dwm1001/nrf52_dwm1001_defconfig'
Merged configuration '/home/evas/Documents/GitHub/dwm1001/examples/ex_01a_simple_tx/prj.conf'
CMake Error at /home/evas/Documents/GitHub (copy)/zephyr/cmake/modules/kconfig.cmake:355 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/evas/Documents/GitHub (copy)//zephyr/cmake/modules/zephyr_default.cmake:129 (include)
/home/evas/Documents/GitHub (copy)/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/evas/Documents/GitHub (copy)/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions