Build fails: board SoC not resolved (Kconfig.defconfig missing) — ZMK main / Zephyr HWMv2 #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every board in the matrix fails at CMake configure, before any compilation:
Affects all three matrix entries:
nice_view - eyelash_sofle_leftsettings_reset - eyelash_sofle_leftnice_view_custom - eyelash_sofle_rightCause
Zephyr generates
soc/Kconfig.defconfigin the Kconfig binary dir from the SoC of the selectedboard. It is missing, so the SoC for
eyelash_sofle_*never resolved — the board definition in thisrepo is not being understood by the Zephyr version current ZMK pulls in.
config/west.ymltracks upstream unpinned:so ZMK's Zephyr 4.1 upgrade and its hardware model v2
board requirements landed here automatically.
zephyr/module.ymldeclares onlywhich is the older board-module shape. This matches the failure starting ~2026-06-10 with no change
on our side. (
mario-peripheral-animationis also onrevision: mainand has the same exposure.)Options
revision:to a release tag predating the Zephyr 4.1 move. Fastest way back toworking firmware, and what upstream recommends: see
pinning your ZMK version. ZMK's own
build-user-config.ymlhas a dedicated step that prints this advice when a build frommainfails.
main.Needs
board.ymlwith the SoC declared, and theKconfig.<board>/*_defconfiglayout HWMv2expects, instead of the HWMv1 files under
boards/.Suggest 1 now, 2 when there's time.
Not the cause
Unrelated to the Forgejo migration (ma3s7r0/nix-config#78) — this failed the same way on GitHub
Actions since 2026-06-10. CI on git.cl12.de now runs correctly: the job is scheduled on the errata
runner, the
zmkfirmware/zmk-build-arm:stabletoolchain container starts,west init/updatesucceed, and the build reaches CMake configure. The
dtcduplicate unit-address warnings in the logare pre-existing noise from Nordic's SoC dtsi, not related.
Fixed by pinning zmk to
v0.3.0inconfig/west.yml— the last release before the Zephyr 4.1 /hardware-model-v2 change that this repo's
boards/arm/layout predates.The workflow had to be pinned to the same tag: main's version runs a compat check built on
west boards --format "{qualifiers}", a HWMv2 concept absent from v0.3.0's Zephyr, which failedwith
KeyError: 'qualifiers'after the firmware had already built.Builds are green and publish a downloadable
firmwareartifact (1,504,256 bytes):The HWMv2 board migration is deliberately not done — upstream
a741725193/zmk-soflehasn'tmigrated either; it pins
cormoran/zmkatv0.3-branch+dyaand has restructuredeyelash_sofleinto a shield on
nice_nano_v2. Migrating our own board definitions now would mean maintaining adefinition neither upstream nor ZMK has settled on. Worth revisiting when upstream picks a direction.