-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug
Description
Describe the bug
Following the example application README instructions, the build fails if we use a version of Zephyr post 4.1.0. More precisely, this commit is causing a Kconfig warning, which in turns abort the build.
To Reproduce
west init -m https://github.com/zephyrproject-rtos/example-application --mr main ws
west update
cd ws
west build -b custom_plank example_application/app -- -DEXTRA_CONF_FILE=debug.conf
Expected behavior
The example app builds succesfully.
Impact
Minor annoyance but the example application is the entrypoint for most of the newcomers.
Logs and console output
Parsing /home/bajau/trainings/ws/example-application/app/Kconfig
Loaded configuration '/home/bajau/trainings/ws/build/zephyr/.config'
warning: CMSIS_CORE_HAS_SYSTEM_CORE_CLOCK (defined at soc/nxp/imxrt/imxrt6xx/Kconfig.defconfig:8, modules/cmsis_6/Kconfig:23) has direct dependencies (SOC_SERIES_IMXRT6XX && SOC_FAMILY_NXP_IMXRT) || (HAS_CMSIS_CORE && 0) with value n, but is currently being y-selected by the following symbols:
- SOC_FAMILY_NORDIC_NRF (defined at soc/nordic/Kconfig.soc:19, soc/nordic/Kconfig:9), with value y, direct dependencies y (value: y), and select condition ARM (value: y)
error: Aborting due to Kconfig warnings
CMake Error at /home/bajau/trainings/ws/zephyr/cmake/modules/kconfig.cmake:365 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/bajau/trainings/ws/zephyr/cmake/modules/zephyr_default.cmake:131 (include)
/home/bajau/trainings/ws/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/bajau/trainings/ws/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:8 (find_package)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/home/bajau/.local/share/pipx/venvs/west/bin/python -B/home/bajau/trainings/ws/build -GNinja -DEXTRA_CONF_FILE=debug.conf -S/home/bajau/trainings/ws/example-application/app
Environment (please complete the following information):
- OS: Linux
- Toolchain Zephyr SDK 0.17.0
- Errors happen starting with commit f726cb5
Additional context
joelguittet and n-eq
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug