mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-03 11:29:42 +08:00
feat(freertos): Add option for idle task stack size
Modify min size from 768 to 1024 bytes.
This commit is contained in:
@ -32,6 +32,18 @@ config FREERTOS_MAX_HOOK
|
||||
help
|
||||
configurate the max number of FreeRTOS hook function.
|
||||
|
||||
config FREERTOS_IDLE_TASK_STACKSIZE
|
||||
int "Idle Task stack size"
|
||||
range 1024 32768
|
||||
default 1024
|
||||
help
|
||||
The idle task has its own stack, sized in bytes. The default size is enough for most uses. Size can be reduced
|
||||
to 1024 bytes if no (or simple) FreeRTOS idle hooks are used and pthread local storage or FreeRTOS local storage
|
||||
cleanup callbacks are not used.
|
||||
|
||||
The stack size may need to be increased above the default if the app installs idle or thread local storage
|
||||
cleanup hooks that use a lot of stack memory.
|
||||
|
||||
config FREERTOS_ISR_STACKSIZE
|
||||
int "ISR stack size"
|
||||
range 512 8192
|
||||
|
Reference in New Issue
Block a user