mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 20:35:08 +02:00
Correct Kconfigs according to the coding style
This commit is contained in:
+40
-40
@@ -1,49 +1,49 @@
|
||||
menu "PThreads"
|
||||
|
||||
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_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 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
|
||||
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
|
||||
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_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_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_NAME_DEFAULT
|
||||
string "Default name of pthreads"
|
||||
default "pthread"
|
||||
help
|
||||
The default name of pthreads.
|
||||
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.
|
||||
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user