forked from kofal.net/zmk
refactor(split): Clean up Kconfig organization.
* Seperated configs for split role (central/peripheral) and transport (BLE only for now). * Split the configs to align on structure.
This commit is contained in:
committed by
Pete Johanson
parent
c679b7e07d
commit
6539b3ae25
26
app/src/split/Kconfig
Normal file
26
app/src/split/Kconfig
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright (c) 2022 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
menuconfig ZMK_SPLIT
|
||||
bool "Split keyboard support"
|
||||
|
||||
if ZMK_SPLIT
|
||||
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
bool "Split central device"
|
||||
|
||||
choice ZMK_SPLIT_TRANSPORT
|
||||
prompt "Split transport"
|
||||
|
||||
config ZMK_SPLIT_BLE
|
||||
bool "BLE"
|
||||
depends on ZMK_BLE
|
||||
select BT_USER_PHY_UPDATE
|
||||
select BT_AUTO_PHY_UPDATE
|
||||
|
||||
endchoice
|
||||
|
||||
#ZMK_SPLIT
|
||||
endif
|
||||
|
||||
rsource "bluetooth/Kconfig"
|
||||
Reference in New Issue
Block a user