From 1530ae36c22e3e2285e895737c74de5d960a5ae4 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Wed, 30 Jul 2025 11:43:46 -0600 Subject: [PATCH] fix(split): Enable wired split by default if DTS is set (#3010) Remove the previous condition on ZMK_SPLIT_WIRED that only enabled it if !ZMK_BLE. We'll defer to the `depends on` to ensure the DTS exists to use wired split to make that decision on enabling the feature. --- app/src/split/Kconfig | 2 +- docs/docs/config/split.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/split/Kconfig b/app/src/split/Kconfig index f3341bc81..00ce08407 100644 --- a/app/src/split/Kconfig +++ b/app/src/split/Kconfig @@ -18,7 +18,7 @@ config ZMK_SPLIT_BLE config ZMK_SPLIT_WIRED bool "Wired Split" - default y if !ZMK_SPLIT_BLE + default y depends on DT_HAS_ZMK_WIRED_SPLIT_ENABLED select SERIAL select RING_BUFFER diff --git a/docs/docs/config/split.md b/docs/docs/config/split.md index ae33a5b6d..d855e8aeb 100644 --- a/docs/docs/config/split.md +++ b/docs/docs/config/split.md @@ -51,7 +51,7 @@ Following wired [split keyboard](../features/split-keyboards.md) settings are de | Config | Type | Description | Default | | -------------------------------------------- | ---- | ----------------------------------------------------------------- | ------------------------------------------------------------- | -| `CONFIG_ZMK_SPLIT_WIRED` | bool | Use wired connection to communicate between split keyboard halves | y (if no BLE split and devicetree is set appropriately) | +| `CONFIG_ZMK_SPLIT_WIRED` | bool | Use wired connection to communicate between split keyboard halves | y (if devicetree is set appropriately) | | `CONFIG_ZMK_SPLIT_WIRED_UART_MODE_ASYNC` | bool | Async (DMA) mode | y if the driver supports it (excluding nRF52 with known bugs) | | `CONFIG_ZMK_SPLIT_WIRED_UART_MODE_INTERRUPT` | bool | Interrupt mode | y if the hardware supports it | | `CONFIG_ZMK_SPLIT_WIRED_UART_MODE_POLLING` | bool | Polling mode | y if neither other mode is supported |