Shield overlay overrides chain-length to 10 #3

Closed
opened 2026-06-25 23:50:44 +08:00 by afiqzudinhadi · 2 comments
afiqzudinhadi commented 2026-06-25 23:50:44 +08:00 (Migrated from github.com)

app/boards/shields/corne/boards/nice_nano_v2.overlay has chain-length = <10>. This gets applied after user's config/nice_nano_v2.overlay, overriding any user-set chain-length.

Workaround: Set chain-length in the keymap file (applied last).

Fix: Update the shield overlay to match actual hardware, or remove the hardcoded value so user overlay takes effect.

`app/boards/shields/corne/boards/nice_nano_v2.overlay` has `chain-length = <10>`. This gets applied after user's `config/nice_nano_v2.overlay`, overriding any user-set chain-length. **Workaround:** Set `chain-length` in the keymap file (applied last). **Fix:** Update the shield overlay to match actual hardware, or remove the hardcoded value so user overlay takes effect.
afiqzudinhadi commented 2026-07-01 23:21:35 +08:00 (Migrated from github.com)

Upstream default (chain-length=10 in shield overlay). Workaround: set chain-length in keymap (applied last). Removed redundant overlay setting in zmk-config.

Upstream default (chain-length=10 in shield overlay). Workaround: set chain-length in keymap (applied last). Removed redundant overlay setting in zmk-config.
afiqzudinhadi commented 2026-07-01 23:25:53 +08:00 (Migrated from github.com)

chain-length is a required DTS property — can't remove from overlay. The shield overlay (chain-length=10) overrides user config overlay, but keymap override (applied last) works.

Current workaround: set chain-length in corne.keymap. Both overlay and keymap have chain-length=27 but only keymap one takes effect.

Not a fork bug — upstream ZMK DTS merge order. Won't fix.

chain-length is a required DTS property — can't remove from overlay. The shield overlay (chain-length=10) overrides user config overlay, but keymap override (applied last) works. Current workaround: set chain-length in corne.keymap. Both overlay and keymap have chain-length=27 but only keymap one takes effect. Not a fork bug — upstream ZMK DTS merge order. Won't fix.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: afiqzudinhadi/zmk#3
No description provided.