When trying to import the nice-view-gem module the build gh action fails (using 3 modules)

Im trying ot include multiple modules into my KB config like this
manifest:
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
- name: M165437 #new entry
url-base: https://github.com/M165437 #new entry
- name: jdramirezl
url-base: https://github.com/jdramirezl
projects:
- name: zmk
remote: zmkfirmware
revision: main
import: app/west.yml
- name: nice-view-gem #new entry
remote: M165437 #new entry
revision: main #new entry
- name: nice-view-gem-jdramirezl
remote: jdramirezl
revision: main

self:
path: config
manifest:
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
- name: M165437 #new entry
url-base: https://github.com/M165437 #new entry
- name: jdramirezl
url-base: https://github.com/jdramirezl
projects:
- name: zmk
remote: zmkfirmware
revision: main
import: app/west.yml
- name: nice-view-gem #new entry
remote: M165437 #new entry
revision: main #new entry
- name: nice-view-gem-jdramirezl
remote: jdramirezl
revision: main

self:
path: config
3 Replies
TyperAI
TyperAI4w ago
It sounds like you're trying to integrate multiple modules, including nice-view-gem, into your ZMK build, and the GitHub Actions build is failing. While I can't directly troubleshoot your specific west.yml configuration or the nice-view-gem module, I can point you to our documentation for building your own firmware, which includes information on setting up your ZMK config repository. You can find detailed guides on building your own firmware for the Corne Wireless at https://docs.typeractive.xyz/build-guides/corne-wireless/firmware or for the Lily58 Wireless at https://docs.typeractive.xyz/build-guides/lily58-wireless/firmware. These guides provide templates for setting up your ZMK config repository. For more general ZMK documentation on user setup and keymap customization, you can refer to the official ZMK documentation at https://zmk.dev/docs/user-setup and https://zmk.dev/docs/features/keymaps. If you continue to experience issues, please reply to this message or tag me for further assistance!
Firmware | Typeractive.xyz Documentation
If you're not familiar, ZMK is a wireless-focused firmware, and it powers our Corne Wireless.
Installing ZMK | ZMK Firmware
Unlike other keyboard firmwares, ZMK Firmware has been built from the ground up to allow users to manage
midori
midoriOP4w ago
and like this consequently
# This file generates the GitHub Actions matrix.
# For simple board + shield combinations, add them to the top level board and
# shield arrays, for more control, add individual board + shield combinations
# to the `include` property. You can also use the `cmake-args` property to
# pass flags to the build command, `snippet` to add a Zephyr snippet, and
# `artifact-name` to assign a name to distinguish build outputs from each other:
#
# board: [ "nice_nano_v2" ]
# shield: [ "corne_left", "corne_right" ]
# include:
# - board: bdn9_rev2
# - board: nice_nano_v2
# shield: reviung41
# - board: nice_nano_v2
# shield: corne_left
# snippet: studio-rpc-usb-uart
# cmake-args: -DCONFIG_ZMK_STUDIO=y
# artifact-name: corne_left_with_studio
#
---
include:
- board: nice_nano_v2
shield: lily58_left nice_view_adapter nice_view_gem
snippet: studio-rpc-usb-uart
- board: nice_nano_v2
shield: lily58_right nice_view_adapter nice_gem_jdramirezl
- board: nice_nano_v2
shield: settings_reset
# This file generates the GitHub Actions matrix.
# For simple board + shield combinations, add them to the top level board and
# shield arrays, for more control, add individual board + shield combinations
# to the `include` property. You can also use the `cmake-args` property to
# pass flags to the build command, `snippet` to add a Zephyr snippet, and
# `artifact-name` to assign a name to distinguish build outputs from each other:
#
# board: [ "nice_nano_v2" ]
# shield: [ "corne_left", "corne_right" ]
# include:
# - board: bdn9_rev2
# - board: nice_nano_v2
# shield: reviung41
# - board: nice_nano_v2
# shield: corne_left
# snippet: studio-rpc-usb-uart
# cmake-args: -DCONFIG_ZMK_STUDIO=y
# artifact-name: corne_left_with_studio
#
---
include:
- board: nice_nano_v2
shield: lily58_left nice_view_adapter nice_view_gem
snippet: studio-rpc-usb-uart
- board: nice_nano_v2
shield: lily58_right nice_view_adapter nice_gem_jdramirezl
- board: nice_nano_v2
shield: settings_reset
bbut when pushing to my repo i find this
redox_left
redox_right
reviung34
reviung41
reviung5
reviung53
rk055hdmipi4m
rk055hdmipi4ma0
romac
romac_plus
semtech_sx1262mb2das
semtech_sx1272mb2das
semtech_sx1276mb1mas
settings_reset
sh1106_128x64
snap_left
snap_right
sofle_left
sofle_right
sparkfun_max3421e
sparkfun_sara_r4
splitkb_aurora_corne_left
splitkb_aurora_corne_right
splitkb_aurora_helix_left
splitkb_aurora_helix_right
splitkb_aurora_lily58_left
splitkb_aurora_lily58_right
splitkb_aurora_sofle_left
splitkb_aurora_sofle_right
splitkb_aurora_sweep_left
splitkb_aurora_sweep_right
splitreus62_left
splitreus62_right
ssd1306_128x32
ssd1306_128x64
ssd1306_128x64_spi
st7735r_ada_160x128
st7789v_tl019fqv01
st7789v_waveshare_240x240
st_b_lcd40_dsi1_mb1166
tcan4550evm
tester_pro_micro
tester_xiao
tg4x
ti_bp_bassensorsmkii

zmk_uno_split_right
zodiark_left
zodiark_right
CMake Error at /tmp/zmk-config/zephyr/cmake/modules/shields.cmake:140 (message):
Invalid SHIELD; see above.
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)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/tmp/tmp.OOQYHfmCLX -GNinja -DBOARD=nice_nano_v2 -DZMK_CONFIG=/tmp/zmk-config/config '-DSHIELD=lily58_left nice_view_adapter nice_view_gem' -DZMK_EXTRA_MODULES=/__w/zmk-config/zmk-config -DSNIPPET=studio-rpc-usb-uart -S/tmp/zmk-config/zmk/app
Error: Process completed with exit code 1.
redox_left
redox_right
reviung34
reviung41
reviung5
reviung53
rk055hdmipi4m
rk055hdmipi4ma0
romac
romac_plus
semtech_sx1262mb2das
semtech_sx1272mb2das
semtech_sx1276mb1mas
settings_reset
sh1106_128x64
snap_left
snap_right
sofle_left
sofle_right
sparkfun_max3421e
sparkfun_sara_r4
splitkb_aurora_corne_left
splitkb_aurora_corne_right
splitkb_aurora_helix_left
splitkb_aurora_helix_right
splitkb_aurora_lily58_left
splitkb_aurora_lily58_right
splitkb_aurora_sofle_left
splitkb_aurora_sofle_right
splitkb_aurora_sweep_left
splitkb_aurora_sweep_right
splitreus62_left
splitreus62_right
ssd1306_128x32
ssd1306_128x64
ssd1306_128x64_spi
st7735r_ada_160x128
st7789v_tl019fqv01
st7789v_waveshare_240x240
st_b_lcd40_dsi1_mb1166
tcan4550evm
tester_pro_micro
tester_xiao
tg4x
ti_bp_bassensorsmkii

zmk_uno_split_right
zodiark_left
zodiark_right
CMake Error at /tmp/zmk-config/zephyr/cmake/modules/shields.cmake:140 (message):
Invalid SHIELD; see above.
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)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/tmp/tmp.OOQYHfmCLX -GNinja -DBOARD=nice_nano_v2 -DZMK_CONFIG=/tmp/zmk-config/config '-DSHIELD=lily58_left nice_view_adapter nice_view_gem' -DZMK_EXTRA_MODULES=/__w/zmk-config/zmk-config -DSNIPPET=studio-rpc-usb-uart -S/tmp/zmk-config/zmk/app
Error: Process completed with exit code 1.
Seems like its not finding the module, which is weird because it can actually find the jdramirezl one but not the second one. As a note, the jdramirezl is a fork made from the first one ( the nice_view_gem) what could be happneing @TyperAI @TyperAI
TyperAI
TyperAI4w ago
It looks like the build process is failing because it can't find the nice_view_gem shield. The error message "Invalid SHIELD" indicates that the ZMK build system doesn't recognize nice_view_gem as a valid shield. Even though you've added nice-view-gem to your west.yml as a project, that doesn't automatically make it a recognized shield in the ZMK build system. For a shield to be recognized, it needs to be properly defined within the ZMK firmware structure, typically with its own .overlay and .dtsi files in the correct ZMK shield directories. The jdramirezl one might be working because it's a fork and might already contain the necessary shield definitions that ZMK expects, or it's being referenced in a way that ZMK understands. To troubleshoot this, you'll need to ensure that: 1. The nice_view_gem repository contains the necessary ZMK shield files. Look for files like nice_view_gem.overlay and nice_view_gem.dtsi within the repository, usually under a boards/shields/nice_view_gem path. 2. These shield files are correctly structured and compatible with ZMK. They need to define the shield in a way that ZMK's build system can parse and use. 3. The west.yml entry correctly points to the root of the shield definition. Sometimes, the import path in west.yml needs to be more specific if the shield definitions aren't at the top level of the repository. I recommend reviewing the structure of existing ZMK shields (e.g., lily58_left or nice_view_adapter within the ZMK firmware repository) and comparing it to how nice_view_gem is set up in its repository. If you're still stuck after checking these points, feel free to provide more details about the file structure of your nice-view-gem repository, and I'll do my best to help!

Did you find this page helpful?