Skip to content

Instantly share code, notes, and snippets.

@aep
Created December 20, 2019 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aep/1672a5502c95144ad802fb11d4a1e769 to your computer and use it in GitHub Desktop.
Save aep/1672a5502c95144ad802fb11d4a1e769 to your computer and use it in GitHub Desktop.
Zephyr version: 2.1.0
-- Found PythonInterp: /usr/sbin/python (found suitable version "3.8.0", minimum required is "3.4")
-- Selected BOARD nrf52840_artanis
-- Found west: /home/aep/.local/bin/west (found suitable version "0.6.3", minimum required is "0.6.0")
-- Loading /home/aep/proj/artanis/os/zephyrproject/zephyr/boards/arm/nrf52840_artanis/nrf52840_artanis.dts as base
Devicetree configuration written to /home/aep/proj/artanis/os/zephyrproject/zephyr/samples/basic/blinky/build/zephyr/include/generated/generated_dts_board.conf
Traceback (most recent call last):
File "/home/aep/proj/artanis/os/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 572, in <module>
main()
File "/home/aep/proj/artanis/os/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 558, in main
generate_defines()
File "/home/aep/proj/artanis/os/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 481, in generate_defines
generate_node_defines(node_path)
File "/home/aep/proj/artanis/os/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 150, in generate_node_defines
generate_prop_defines(node_path, prop)
File "/home/aep/proj/artanis/os/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 100, in generate_prop_defines
extract_controller(node_path, prop, prop_values, 0,
File "/home/aep/proj/artanis/os/zephyrproject/zephyr/scripts/dts/extract/globals.py", line 443, in extract_controller
prop_array = build_cell_array(prop_values)
File "/home/aep/proj/artanis/os/zephyrproject/zephyr/scripts/dts/extract/globals.py", line 376, in build_cell_array
cell_parent = phandles[handle]
KeyError: 4
CMake Error at /home/aep/proj/artanis/os/zephyrproject/zephyr/cmake/dts.cmake:220 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/aep/proj/artanis/os/zephyrproject/zephyr/cmake/app/boilerplate.cmake:460 (include)
CMakeLists.txt:4 (include)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment