mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 01:27:11 +08:00
bugfix/freertos_timer_stack_config: Added config option for Timer stack.
Added configuration option for Timer Stack size in FreeRTOS.
This commit is contained in:
@ -39,5 +39,11 @@ config FREERTOS_GLOBAL_DATA_LINK_IRAM
|
||||
depends on !SOC_FULL_ICACHE
|
||||
help
|
||||
Link FreeRTOS global data(.bss .data COMMON) from DRAM to IRAM.
|
||||
|
||||
config FREERTOS_TIMER_STACKSIZE
|
||||
int "Timer stack size"
|
||||
default 2048
|
||||
help
|
||||
The size of the stack used by the timer in FreeRTOS.
|
||||
|
||||
endmenu
|
||||
|
@ -76,7 +76,7 @@
|
||||
#if configUSE_TIMERS
|
||||
#define configTIMER_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )
|
||||
#define configTIMER_QUEUE_LENGTH (10)
|
||||
#define configTIMER_TASK_STACK_DEPTH ( ( unsigned short ) 2048 )
|
||||
#define configTIMER_TASK_STACK_DEPTH ( ( unsigned short ) CONFIG_FREERTOS_TIMER_STACKSIZE )
|
||||
#endif
|
||||
|
||||
/* Co-routine definitions. */
|
||||
|
Reference in New Issue
Block a user