feat(freertos): Add option for idle task stack size

Modify min size from 768 to 1024 bytes.
This commit is contained in:
dongheng
2019-04-17 10:11:57 +08:00
parent 8aae2e5764
commit b3658b4eb1
3 changed files with 17 additions and 1 deletions

View File

@ -1959,7 +1959,7 @@ BaseType_t xReturn;
/* The Idle task is being created using dynamically allocated RAM. */
xReturn = xTaskCreate( prvIdleTask,
configIDLE_TASK_NAME,
configMINIMAL_STACK_SIZE,
configIDLE_TASK_STACK_SIZE,
( void * ) NULL,
( tskIDLE_PRIORITY | portPRIVILEGE_BIT ),
&xIdleTaskHandle ); /*lint !e961 MISRA exception, justified as it is not a redundant explicit cast to all supported compilers. */