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

dtc: Unrecognized check name "unique_unit_address_if_enabled" #32142

Closed
skullbox305 opened this issue Feb 9, 2021 · 1 comment
Closed

dtc: Unrecognized check name "unique_unit_address_if_enabled" #32142

skullbox305 opened this issue Feb 9, 2021 · 1 comment
Assignees
Labels
area: Devicetree bug The issue is a bug, or the PR is fixing a bug

Comments

@skullbox305
Copy link
Contributor

skullbox305 commented Feb 9, 2021

Describe the bug
After commit 17f1e4b I am unable to build anything for the nrf9160dk_nrf9160 board under Windows 10. Building in Linux works just fine. Every dependency is up to date.

To Reproduce
Steps to reproduce the behavior:

  1. cd ~/zephyr/samples/hello_world
  2. west build -p auto -b nrf9160dk_nrf9160
  3. See error

Impact
I get the error:

FATAL ERROR: Unrecognized check name "unique_unit_address_if_enabled"

Logs and console output

C:\Users\skull\Documents\Workspaces\zephyr-arithmetics\zephyr\samples\hello_world> west build -p auto -b nrf9160dk_nrf9160
-- west build: generating a build system
Including boilerplate (Zephyr base (cached)): C:/Users/skull/Documents/Workspaces/zephyr-arithmetics/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/Users/skull/Documents/Workspaces/zephyr-arithmetics/zephyr/samples/hello_world
-- Zephyr version: 2.5.0-rc3 (C:/Users/skull/Documents/Workspaces/zephyr-arithmetics/zephyr)
-- Found west (found suitable version "0.9.0", minimum required is "0.7.1")
-- Board: nrf9160dk_nrf9160
-- Cache files will be written to: C:/Users/skull/Documents/Workspaces/zephyr-arithmetics/zephyr/.cache
-- Found dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (C:/gnuarmemb)
-- Found BOARD.dts: C:/Users/skull/Documents/Workspaces/zephyr-arithmetics/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
FATAL ERROR: Unrecognized check name "unique_unit_address_if_enabled"
CMake Error at C:/Users/skull/Documents/Workspaces/zephyr-arithmetics/zephyr/cmake/dts.cmake:205 (message):
command failed with return code: 1
Call Stack (most recent call first):
C:/Users/skull/Documents/Workspaces/zephyr-arithmetics/zephyr/cmake/app/boilerplate.cmake:535 (include)
C:/Users/skull/Documents/Workspaces/zephyr-arithmetics/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
C:/Users/skull/Documents/Workspaces/zephyr-arithmetics/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=c:\python39\python.exe' '-BC:\Users\skull\Documents\Workspaces\zephyr-arithmetics\zephyr\samples\hello_world\build' '-SC:\Users\skull\Documents\Workspaces\zephyr-arithmetics\zephyr\samples\hello_world' -GNinja

Environment (please complete the following information):

  • OS: Windows 10
  • Commit used: d0be253
@skullbox305 skullbox305 added the bug The issue is a bug, or the PR is fixing a bug label Feb 9, 2021
@skullbox305
Copy link
Contributor Author

Solved. Turns out I had dtc installed via chocolatey which caused the error. I can't remember when and why I installed it, but after removing the compilation succeeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Devicetree bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

3 participants