Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building with latest Zephyr (2.3.99) #4

Open
yakinikuman opened this issue Aug 25, 2020 · 2 comments
Open

Error when building with latest Zephyr (2.3.99) #4

yakinikuman opened this issue Aug 25, 2020 · 2 comments

Comments

@yakinikuman
Copy link

At some point, baseline Zephyr began supporting the DWM1001 board. I've got Zephyr 2.3.99 setup per the Getting Started Guide, and can build, flash, and run the "blinky" example on the DWM1001-dev board.

I tried to build the zephyr-dwm1001 example 01a with the updated Zephyr (version 2.3.99) but get this error:

~/zephyrproject/zephyr$ west build -p auto -b decawave_dwm1001_dev ../zephyr-dwm1001/examples/ex_01a_simple_tx
-- west build: making build dir /home/control/zephyrproject/zephyr/build pristine
-- west build: generating a build system
-- Application: /home/control/zephyrproject/zephyr-dwm1001/examples/ex_01a_simple_tx
-- Zephyr version: 2.3.99 (/home/control/zephyrproject/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components: Interpreter
-- Found west: /home/control/.local/bin/west (found suitable version "0.7.3", minimum required is "0.7.1")
-- Board: decawave_dwm1001_dev
ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found toolchain: zephyr (/home/control/bin/zephyr-sdk-0.11.3)
-- Found dtc: /home/control/bin/zephyr-sdk-0.11.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/control/zephyrproject/zephyr/boards/arm/decawave_dwm1001_dev/decawave_dwm1001_dev.dts
-- Generated zephyr.dts: /home/control/zephyrproject/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/control/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_unfixed.h
Parsing /home/control/zephyrproject/zephyr/Kconfig
Loaded configuration '/home/control/zephyrproject/zephyr/boards/arm/decawave_dwm1001_dev/decawave_dwm1001_dev_defconfig'
Merged configuration '/home/control/zephyrproject/zephyr-dwm1001/examples/ex_01a_simple_tx/prj.conf'

error: SPI_1_NRF_SPIM (defined at drivers/spi/Kconfig.nrfx:71) is assigned in a configuration file,
but is not directly user-configurable (has no prompt). It gets its value indirectly from other
symbols. See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_SPI_1_NRF_SPIM.html
and/or look up SPI_1_NRF_SPIM 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.

CMake Error at /home/control/zephyrproject/zephyr/cmake/kconfig.cmake:230 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/control/zephyrproject/zephyr/cmake/app/boilerplate.cmake:529 (include)
CMakeLists.txt:2 (include)

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/control/zephyrproject/zephyr/build -S/home/control/zephyrproject/zephyr-dwm1001/examples/ex_01a_simple_tx -GNinja -DBOARD=decawave_dwm1001_dev

@yakinikuman
Copy link
Author

Found someone who updated this project for Zephyr 2.2.x: https://github.com/foldedtoad/dwm1001

@wimmar
Copy link
Collaborator

wimmar commented Jan 6, 2021

Thanks for link Yakini, the code here has indeed not been updated for the latest Zephyr version (yet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants