Failed to build initial config
a0405u opened this issue · 2 comments
a0405u commented
GitHub actions have failed to build the initial config that was made according to user setup.
- Empty repository was created at github.com.
- Git, Python and pipx was installed and configured properly.
- Following script was started:
bash -c "$(curl -fsSL https://zmk.dev/setup.sh)"
- Corne (17) was selected as the keyboard.
- nrf52840 M.2 Module (13) was selected as MCU board.
- Stock keymap was copied to the config.
- Github username, repository name and link was provided.
- Script was succesfull.
- Building action has started on the github.com.
- Following error in West Build (corne_right - nrf52840_m2) job occured:
devicetree error: /tmp/zmk-config/zmk/app/boards/shields/corne/corne.dtsi:76 (column 1): parse error: undefined node label 'pro_micro_i2c'
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:129 (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:9 (find_package)
-- In: /tmp/tmp.1wHnkLiIMw/zephyr, command: /usr/bin/python3;/tmp/zmk-config/zephyr/scripts/dts/gen_defines.py;--dts;/tmp/tmp.1wHnkLiIMw/zephyr/zephyr.dts.pre;--dtc-flags;'-Wno-unique_unit_address_if_enabled';--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.1wHnkLiIMw/zephyr/include/generated/devicetree_generated.h.new;--dts-out;/tmp/tmp.1wHnkLiIMw/zephyr/zephyr.dts.new;--edt-pickle-out;/tmp/tmp.1wHnkLiIMw/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.1wHnkLiIMw -GNinja -DBOARD=nrf52840_m2 -DZMK_CONFIG=/tmp/zmk-config/config -DSHIELD=corne_right -DZMK_EXTRA_MODULES=/__w/zmk-config/zmk-config -S/tmp/zmk-config/zmk/app
Error: Process completed with exit code 1.
Full logs archive attached.
logs_31789020976.zip
lesshonor commented
The nRF52840 M.2 module looks like this: https://wiki.makerdiary.com/nrf52840-m2
If you have a Corne that has been designed to fit this module, you can't use the Corne definition that is in ZMK. I would ask the vendor for help with this.
If your board is not M.2-shaped but Pro Micro-shaped, perhaps it is one of these: https://zmk.dev/docs/hardware#pro_micro
Or something in this list: https://github.com/joric/nrfmicro/wiki/Alternatives#pro-micro-compatible
a0405u commented
Sorry, looks like it was my fault! I should've choosed nice!nano v2 instead! Thank you!