diff options
Diffstat (limited to 'app/Kconfig')
-rw-r--r-- | app/Kconfig | 70 |
1 files changed, 60 insertions, 10 deletions
diff --git a/app/Kconfig b/app/Kconfig index e6dc3bd..997409e 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -40,6 +40,8 @@ menuconfig ZMK_BLE select BT_PERIPHERAL select BT_GATT_DIS select BT_GATT_BAS + select SETTINGS + select BT_SETTINGS if ZMK_BLE @@ -47,6 +49,9 @@ config ZMK_BLE_INIT_PRIORITY int "Init Priority" default 50 +config SYSTEM_WORKQUEUE_STACK_SIZE + default 2048 + # HID GATT notifications sent this way are *not* picked up by Linux, and possibly others. config BT_GATT_NOTIFY_MULTIPLE default n @@ -58,20 +63,65 @@ config ZMK_BLE_PASSKEY_ENTRY bool "Experimental: Requiring typing passkey from host to pair BLE connection" default n -# Incresed stack due to settings API usage -# CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 -# -# CONFIG_BT_SETTINGS=y -# CONFIG_FLASH=y -# CONFIG_FLASH_PAGE_LAYOUT=y -# CONFIG_FLASH_MAP=y -# CONFIG_NVS=y -# CONFIG_SETTINGS=y +endif + +endmenu + + +menu "Split Support" + +config ZMK_SPLIT + bool "Split keyboard support" + default n + +if ZMK_SPLIT + +config ZMK_SPLIT_BLE + bool "Split keyboard support via BLE transport" + depends on ZMK_BLE + default y + +if ZMK_SPLIT_BLE + +choice ZMK_SPLIT_BLE_ROLE + bool "BLE Role For Split Communication" + default ZMK_SPLIT_BLE_ROLE_CENTRAL + +config ZMK_SPLIT_BLE_ROLE_CENTRAL + bool "Central" + select BT_CENTRAL + select BT_GATT_CLIENT + +if ZMK_SPLIT_BLE_ROLE_CENTRAL + +config BT_MAX_CONN + default 5 + +endif + +config ZMK_SPLIT_BLE_ROLE_PERIPHERAL + bool "Peripheral" + +if ZMK_SPLIT_BLE_ROLE_PERIPHERAL + +config ZMK_USB + default n + + +config BT_MAX_CONN + default 5 endif +endchoice + +endif + +endif + endmenu + config ZMK_KSCAN_MOCK_DRIVER bool "Enable mock kscan driver to simulate key presses" default n @@ -89,7 +139,7 @@ config ZMK_ACTION_MOD_TAP endmenu config HEAP_MEM_POOL_SIZE - default 200 + default 1024 module = ZMK module-str = zmk |