mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
freertos: Use configured idle task stack size not minimum task stack size for idle tasks
This commit is contained in:
@@ -2188,7 +2188,7 @@ uint32_t ulIdleTaskStackSize;
|
|||||||
for(BaseType_t i = 0; i < portNUM_PROCESSORS; i++)
|
for(BaseType_t i = 0; i < portNUM_PROCESSORS; i++)
|
||||||
{
|
{
|
||||||
/* Add the idle task at the lowest priority. */
|
/* Add the idle task at the lowest priority. */
|
||||||
#if( configSUPPORT_STATIC_ALLOCATION == 1 && configSUPPORT_STATIC_ALLOCATION == 0 )
|
#if( 0 ) /* configSUPPORT_STATIC_ALLOCATION == 1 ) Temporarily unsupported IDF-2243 */
|
||||||
{
|
{
|
||||||
/* The Idle task is created using user provided RAM - obtain the
|
/* The Idle task is created using user provided RAM - obtain the
|
||||||
address of the RAM then create the idle task. */
|
address of the RAM then create the idle task. */
|
||||||
@@ -2216,7 +2216,7 @@ uint32_t ulIdleTaskStackSize;
|
|||||||
/* The Idle task is being created using dynamically allocated RAM. */
|
/* The Idle task is being created using dynamically allocated RAM. */
|
||||||
xReturn = xTaskCreatePinnedToCore( prvIdleTask,
|
xReturn = xTaskCreatePinnedToCore( prvIdleTask,
|
||||||
configIDLE_TASK_NAME,
|
configIDLE_TASK_NAME,
|
||||||
configMINIMAL_STACK_SIZE,
|
configIDLE_TASK_STACK_SIZE,
|
||||||
( void * ) NULL,
|
( void * ) NULL,
|
||||||
portPRIVILEGE_BIT, /* In effect ( tskIDLE_PRIORITY | portPRIVILEGE_BIT ), but tskIDLE_PRIORITY is zero. */
|
portPRIVILEGE_BIT, /* In effect ( tskIDLE_PRIORITY | portPRIVILEGE_BIT ), but tskIDLE_PRIORITY is zero. */
|
||||||
&xIdleTaskHandle[i],
|
&xIdleTaskHandle[i],
|
||||||
|
Reference in New Issue
Block a user