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

Device tree error with nice_nano_v2 #73000

Closed
ElectricS01 opened this issue May 20, 2024 · 3 comments
Closed

Device tree error with nice_nano_v2 #73000

ElectricS01 opened this issue May 20, 2024 · 3 comments
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@ElectricS01
Copy link

I am getting the following error when trying to build keyboard firmware for the nice_nano_v2 target
devicetree error: child specifier for <Node /kscan in '/tmp/zmk-config/zephyr/misc/empty_file.c'> (b'\x00\x00\x00\x0b\x00\x00\x00 ') does not appear in <Property 'gpio-map' at '/connector' in '/tmp/zmk-config/zephyr/misc/empty_file.c'>

I'm using GitHub Actions to build it in this repo https://github.com/dp2305/zmk-config-tubetest/
I've made sure that I'm using the latest version of zephyr

Here's the full error log:

+ west build -s zmk/app -d /tmp/tmp.qwmJNd36X2 -b nice_nano_v2 -- -DZMK_CONFIG=/tmp/zmk-config/config -DSHIELD=TubeTest -DZMK_EXTRA_MODULES=/__w/zmk-config-tubetest/zmk-config-tubetest
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /tmp/zmk-config/zmk/app
-- CMake version: 3.28.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: /tmp/zmk-config/zephyr/.cache
-- Zephyr version: 3.5.0 (/tmp/zmk-config/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Adding ZMK config directory as board root: /tmp/zmk-config/config
-- Adding /tmp/zmk-config/config/boards/shields/TubeTest
-- ZMK Config directory: /tmp/zmk-config/config
-- Using keymap file: /tmp/zmk-config/config/boards/shields/TubeTest/TubeTest.keymap
-- Board: nice_nano_v2
-- Shield(s): TubeTest
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") 
-- Found BOARD.dts: /tmp/zmk-config/zmk/app/boards/arm/nice_nano/nice_nano_v2.dts
-- Found devicetree overlay: /tmp/zmk-config/config/boards/shields/TubeTest/TubeTest.overlay
-- Found devicetree overlay: /tmp/zmk-config/config/boards/shields/TubeTest/TubeTest.keymap
devicetree error: child specifier for <Node /kscan in '/tmp/zmk-config/zephyr/misc/empty_file.c'> (b'\x00\x00\x00\x0b\x00\x00\x00 ') does not appear in <Property 'gpio-map' at '/connector' in '/tmp/zmk-config/zephyr/misc/empty_file.c'>
CMake Error at /tmp/zmk-config/zephyr/cmake/modules/dts.cmake:279 (message):
  gen_defines.py failed with return code: 1
Call Stack (most recent call first):
  /tmp/zmk-config/zephyr/cmake/modules/zephyr_default.cmake:[12](https://github.com/dp2305/zmk-config-tubetest/actions/runs/9152470279/job/25159966567#step:11:13)9 (include)
  /tmp/zmk-config/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /tmp/zmk-config/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:8 (find_package)


-- In: /tmp/tmp.qwmJNd36X2/zephyr, command: /usr/bin/python3;/tmp/zmk-config/zephyr/scripts/dts/gen_defines.py;--dts;/tmp/tmp.qwmJNd36X2/zephyr/zephyr.dts.pre;--dtc-flags;'';--bindings-dirs;/tmp/zmk-config/zmk/app/module/dts/bindings;/tmp/zmk-config/zmk/app/dts/bindings;/tmp/zmk-config/zephyr/dts/bindings;--header-out;/tmp/tmp.qwmJNd36X2/zephyr/include/generated/devicetree_generated.h.new;--dts-out;/tmp/tmp.qwmJNd36X2/zephyr/zephyr.dts.new;--edt-pickle-out;/tmp/tmp.qwmJNd36X2/zephyr/edt.pickle;--vendor-prefixes;/tmp/zmk-config/zmk/app/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;/tmp/zmk-config/zephyr/dts/bindings/vendor-prefixes.txt
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/tmp/tmp.qwmJNd36X2 -GNinja -DBOARD=nice_nano_v2 -DZMK_CONFIG=/tmp/zmk-config/config -DSHIELD=TubeTest -DZMK_EXTRA_MODULES=/__w/zmk-config-tubetest/zmk-config-tubetest -S/tmp/zmk-config/zmk/app
Error: Process completed with exit code 1.```
@ElectricS01 ElectricS01 added the bug The issue is a bug, or the PR is fixing a bug label May 20, 2024
Copy link

Hi @ElectricS01! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

@henrikbrixandersen
Copy link
Member

This seems like something that should be reported against ZMK, not Zephyr?

@nashif
Copy link
Member

nashif commented May 21, 2024

Closing, as this is not a zephyr bug and the board does not exist in zephyr. Please report against ZMK.

@nashif nashif closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

3 participants