Skip to content

Commit

Permalink
调整蓝牙配置
Browse files Browse the repository at this point in the history
Signed-off-by: Xmj <[email protected]>
  • Loading branch information
Deer-Xmj authored Sep 6, 2024
1 parent dda1f7a commit 970a055
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions config/boards/shields/rolio/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@ if SHIELD_ROLIO_LEFT
config ZMK_KEYBOARD_NAME
default "yz_rolio_left"


config ZMK_SPLIT_ROLE_CENTRAL
default y

endif
if SHIELD_ROLIO_RIGHT
config ZMK_KEYBOARD_NAME
default "yz_rolio_right"

config ZMK_SPLIT_ROLE_CENTRAL
default n


endif


if SHIELD_ROLIO_LEFT || SHIELD_ROLIO_RIGHT
config ZMK_SPLIT_ROLE_CENTRAL
default y


# 增大堆栈大小至4096
config ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE
Expand All @@ -25,20 +29,7 @@ if SHIELD_ROLIO_LEFT || SHIELD_ROLIO_RIGHT
# 启用 OLED 显示支持
config ZMK_DISPLAY
default y

# 启用蓝牙功能
config ZMK_BLE
default y

# 启用蓝牙配对功能
config BT
default y
config BT_PERIPHERAL
default y

# 启用 USB 功能(可选)
config ZMK_USB
default y

# 启用分体键盘支持
config ZMK_SPLIT
Expand Down

0 comments on commit 970a055

Please sign in to comment.