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:
Supreet Deshpande
2018-10-22 14:34:18 +05:30
parent 4c8e0459d6
commit ec77c9711b
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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. */