diff options
Diffstat (limited to 'app/src/display/Kconfig')
-rw-r--r-- | app/src/display/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/src/display/Kconfig b/app/src/display/Kconfig index 95b5d47..9c70911 100644 --- a/app/src/display/Kconfig +++ b/app/src/display/Kconfig @@ -29,6 +29,29 @@ config ZMK_DISPLAY_STATUS_SCREEN_CUSTOM endchoice +choice ZMK_DISPLAY_WORK_QUEUE + prompt "Work queue selection for UI updates" + +config ZMK_DISPLAY_WORK_QUEUE_SYSTEM + bool "Use default system work queue for UI updates" + +config ZMK_DISPLAY_WORK_QUEUE_DEDICATED + bool "Use dedicated work queue for UI updates" + +endchoice + +if ZMK_DISPLAY_WORK_QUEUE_DEDICATED + +config ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE + int "Stack size for dedicated UI thread/queue" + default 2048 + +config ZMK_DISPLAY_DEDICATED_THREAD_PRIORITY + int "Thread priority for dedicated UI thread/queue" + default 5 + +endif # ZMK_DISPLAY_WORK_QUEUE_DEDICATED + rsource "widgets/Kconfig" endif |