2017-08-28 15:41:32 +00:00
|
|
|
menu "PThreads"
|
|
|
|
|
2019-01-25 16:10:53 +00:00
|
|
|
config ESP32_PTHREAD_TASK_PRIO_DEFAULT
|
|
|
|
int "Default task priority"
|
|
|
|
range 0 255
|
|
|
|
default 5
|
|
|
|
help
|
|
|
|
Priority used to create new tasks with default pthread parameters.
|
|
|
|
|
|
|
|
config ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT
|
|
|
|
int "Default task stack size"
|
|
|
|
default 3072
|
|
|
|
help
|
|
|
|
Stack size used to create new tasks with default pthread parameters.
|
|
|
|
|
|
|
|
config PTHREAD_STACK_MIN
|
|
|
|
int "Minimum allowed pthread stack size"
|
|
|
|
default 768
|
|
|
|
help
|
|
|
|
Minimum allowed pthread stack size set in attributes passed to pthread_create
|
|
|
|
|
|
|
|
choice ESP32_PTHREAD_TASK_CORE_DEFAULT
|
|
|
|
bool "Default pthread core affinity"
|
|
|
|
default ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY
|
|
|
|
depends on !FREERTOS_UNICORE
|
|
|
|
help
|
|
|
|
The default core to which pthreads are pinned.
|
|
|
|
|
|
|
|
config ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY
|
|
|
|
bool "No affinity"
|
|
|
|
config ESP32_DEFAULT_PTHREAD_CORE_0
|
|
|
|
bool "Core 0"
|
|
|
|
config ESP32_DEFAULT_PTHREAD_CORE_1
|
|
|
|
bool "Core 1"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ESP32_PTHREAD_TASK_CORE_DEFAULT
|
|
|
|
int
|
|
|
|
default -1 if ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY || FREERTOS_UNICORE
|
|
|
|
default 0 if ESP32_DEFAULT_PTHREAD_CORE_0
|
|
|
|
default 1 if ESP32_DEFAULT_PTHREAD_CORE_1
|
|
|
|
|
|
|
|
config ESP32_PTHREAD_TASK_NAME_DEFAULT
|
|
|
|
string "Default name of pthreads"
|
|
|
|
default "pthread"
|
|
|
|
help
|
|
|
|
The default name of pthreads.
|
2018-11-28 19:40:32 +00:00
|
|
|
|
2017-08-28 15:41:32 +00:00
|
|
|
endmenu
|