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

Zephyr 3.2 support #2

Open
gos-mos opened this issue Apr 22, 2023 · 1 comment
Open

Zephyr 3.2 support #2

gos-mos opened this issue Apr 22, 2023 · 1 comment

Comments

@gos-mos
Copy link

gos-mos commented Apr 22, 2023

ZMK now uses Zephyr 3.2 (per ZMK discord) and fails on build. I'm not familiar enough with zmk to tackle this.

Merged configuration '/__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/klor_left.conf'

warning: LVGL_HOR_RES_MAX (defined at /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:36, /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:36) defined without a type

warning: LVGL_VER_RES_MAX (defined at /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:39, /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:39) defined without a type

warning: LVGL_VDB_SIZE (defined at /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:42, /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:42) defined without a type

warning: LVGL_DPI (defined at /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:45, /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:45) defined without a type

warning: LVGL_BITS_PER_PIXEL (defined at /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:48, /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:48) defined without a type

warning: <choice LVGL_COLOR_DEPTH> (defined at /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:51, /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:51) defined with type unknown

warning: <choice LVGL_COLOR_DEPTH> (defined at /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:51, /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:51) defined without a prompt

warning: the default selection LVGL_COLOR_DEPTH_1 (undefined) of <choice LVGL_COLOR_DEPTH> (defined at /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:51, /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:51) is not contained in the choice

warning: the default selection LVGL_COLOR_DEPTH_1 (undefined) of <choice LVGL_COLOR_DEPTH> (defined at /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:51, /__w/zmk-config-klor/zmk-config-klor/config/boards/shields/klor/Kconfig.defconfig:51) is not contained in the choice

error: Aborting due to Kconfig warnings

CMake Error at /__w/zmk-config-klor/zmk-config-klor/zephyr/cmake/modules/kconfig.cmake:326 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /__w/zmk-config-klor/zmk-config-klor/zephyr/cmake/modules/zephyr_default.cmake:108 (include)
  /__w/zmk-config-klor/zmk-config-klor/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:[66](https://github.com/dionnatt/zmk-config-klor/actions/runs/4771842894/jobs/8484033323#step:9:67) (include)
  /__w/zmk-config-klor/zmk-config-klor/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:15 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/__w/zmk-config-klor/zmk-config-klor/build -GNinja -DBOARD=nice_nano_v2 -DZMK_CONFIG=/__w/zmk-config-klor/zmk-config-klor/config -DSHIELD=klor_left -S/__w/zmk-config-klor/zmk-config-klor/zmk/app
Error: Process completed with exit code 1.
@psi4j
Copy link

psi4j commented May 10, 2023

My ZMK build is also failing even after the recent edits. I thought I had fudged something in my configuration on my keymap, but the errors are showing in the kconfig as shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants