mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
refactor(split): Refactor split code for extension Extract central/peripheral code to allow for plugging in alternate transports, instead of tying all split logic to BT. feat(split): Add full-duplex wired split support * Depends on full-duplex hardware UART for communication. * Supports all existing central commands/peripheral events, including sensors/inputs from peripherals. * Only one wired split peripheral supported (for now) * Relies on chosen `zmk,split-uart` referencing the UART device. docs: Add wired split config docs. Migrate split to its own dedicated config file, and add details on wired split config. Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com> fix: Properly override stack size on RP2040 Move the system work queue stack size override on RP2040 ouf of a `ZMK_BLE` conditional so it is properly applied generally for that SoC. --------- Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com>
66 lines
828 B
Plaintext
66 lines
828 B
Plaintext
# Copyright (c) 2021 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if BOARD_GLOVE80_LH
|
|
|
|
config BOARD
|
|
default "glove80 lh"
|
|
|
|
config ZMK_SPLIT_ROLE_CENTRAL
|
|
default y
|
|
|
|
endif # BOARD_GLOVE80_LH
|
|
|
|
if BOARD_GLOVE80_RH
|
|
|
|
config BOARD
|
|
default "glove80 rh"
|
|
|
|
endif # BOARD_GLOVE80_RH
|
|
|
|
if BOARD_GLOVE80_LH || BOARD_GLOVE80_RH
|
|
|
|
config ZMK_SPLIT
|
|
default y
|
|
|
|
config BT_CTLR
|
|
default BT
|
|
|
|
config ZMK_KSCAN_MATRIX_WAIT_BETWEEN_OUTPUTS
|
|
default 5
|
|
|
|
config PINCTRL
|
|
default y
|
|
|
|
if USB
|
|
|
|
config USB_NRFX
|
|
default y
|
|
|
|
config USB_DEVICE_STACK
|
|
default y
|
|
|
|
endif # USB
|
|
|
|
if ZMK_BACKLIGHT
|
|
|
|
config PWM
|
|
default y
|
|
|
|
config LED_PWM
|
|
default y
|
|
|
|
endif # ZMK_BACKLIGHT
|
|
|
|
if ZMK_RGB_UNDERGLOW
|
|
|
|
config SPI
|
|
default y
|
|
|
|
config WS2812_STRIP
|
|
default y
|
|
|
|
endif # ZMK_RGB_UNDERGLOW
|
|
|
|
endif # BOARD_GLOVE80_LH || BOARD_GLOVE80_RH
|