56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
menu "ESP-Brookesia: Service Custom Configurations"
|
|
config BROOKESIA_SERVICE_CUSTOM_ENABLE_AUTO_REGISTER
|
|
bool "Enable automatic plugin registration"
|
|
default y
|
|
help
|
|
Automatically register the service as a plugin on startup.
|
|
|
|
menuconfig BROOKESIA_SERVICE_CUSTOM_ENABLE_DEBUG_LOG
|
|
bool "Enable debug or lower level logs"
|
|
default n
|
|
|
|
menuconfig BROOKESIA_SERVICE_CUSTOM_ENABLE_WORKER
|
|
bool "Enable worker"
|
|
default n
|
|
|
|
if BROOKESIA_SERVICE_CUSTOM_ENABLE_WORKER
|
|
config BROOKESIA_SERVICE_CUSTOM_WORKER_NAME
|
|
string "Name"
|
|
default "SvcCustomWorker"
|
|
help
|
|
The name of the worker thread.
|
|
|
|
config BROOKESIA_SERVICE_CUSTOM_WORKER_CORE_ID
|
|
int "Core ID"
|
|
default -1
|
|
help
|
|
The core ID of the worker thread. `-1` means the core ID is not specified.
|
|
|
|
config BROOKESIA_SERVICE_CUSTOM_WORKER_PRIORITY
|
|
int "Priority"
|
|
default 5
|
|
help
|
|
The priority of the worker thread.
|
|
|
|
config BROOKESIA_SERVICE_CUSTOM_WORKER_STACK_SIZE
|
|
int "Stack size"
|
|
default 8192
|
|
help
|
|
The stack size of the worker thread.
|
|
|
|
config BROOKESIA_SERVICE_CUSTOM_WORKER_STACK_IN_EXT
|
|
bool "Stack in external memory"
|
|
depends on SPIRAM
|
|
default y
|
|
help
|
|
Whether the stack of the worker thread is in external memory. If enabled, the stack will be allocated in external memory.
|
|
|
|
config BROOKESIA_SERVICE_CUSTOM_WORKER_POLL_INTERVAL_MS
|
|
int "Poll interval (ms)"
|
|
default 10
|
|
range 1 10
|
|
help
|
|
The interval of the worker poll.
|
|
endif
|
|
endmenu
|