diff options
author | Mubeen Khan <mubeen@mubeen.co> | 2020-10-10 16:32:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-10 16:32:16 -0500 |
commit | 4fd6c14ae93ab1b2db1a6a4fac5df4a595a041bf (patch) | |
tree | 064f9890c09322b432cf104d080b0385bbaf1c43 /app/Kconfig | |
parent | 16df1522c282343c3350402360db918a9a1b66e5 (diff) | |
parent | fc6c01fd6941ec795710d66ead9e17d5dfbaa19d (diff) |
Merge pull request #4 from zmkfirmware/main
make even with main
Diffstat (limited to 'app/Kconfig')
-rw-r--r-- | app/Kconfig | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/app/Kconfig b/app/Kconfig index ccd40da..fca4912 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -21,12 +21,16 @@ menuconfig ZMK_USB select USB_DEVICE_STACK select USB_DEVICE_HID -if ZMK_USB +if USB config ZMK_USB_INIT_PRIORITY int "Init Priority" default 50 +endif + +if ZMK_USB + config USB_NUMOF_EP_WRITE_RETRIES default 10 @@ -72,6 +76,29 @@ endif endmenu +menuconfig ZMK_SLEEP + bool "Enable deep sleep support" + imply USB + +if ZMK_SLEEP + +config SYS_POWER_DEEP_SLEEP_STATES + default y + +choice SYS_PM_POLICY + default SYS_PM_POLICY_APP +endchoice + +config ZMK_IDLE_SLEEP_TIMEOUT + int "Milliseconds to wait to sleep when going idle" + default 900000 + +endif + +config ZMK_EXT_POWER + bool "Enable support to control external power output" + default y + config ZMK_DISPLAY bool "ZMK display support" default n @@ -108,7 +135,6 @@ config ZMK_SPLIT_BLE_ROLE_CENTRAL config ZMK_SPLIT_BLE_ROLE_PERIPHERAL bool "Peripheral" - select BT_KEYS_OVERWRITE_OLDEST if ZMK_SPLIT_BLE_ROLE_PERIPHERAL |