Merge branch 'feature/update_freertos_kernel_source' into 'master'

freertos-smp: update FreeRTOS SMP kernel

Closes IDF-5256

See merge request espressif/esp-idf!18624
This commit is contained in:
Zim Kalinowski 2022-06-24 04:19:04 +08:00
commit 22ff8c7f78

View File

@ -709,17 +709,13 @@ static void prvYieldCore( BaseType_t xCoreID )
{ {
xYieldPendings[ xCoreID ] = pdTRUE; xYieldPendings[ xCoreID ] = pdTRUE;
} }
#ifdef ESP_PLATFORM
// TODO: IDF-5256
#if ( configNUM_CORES > 1 ) #if ( configNUM_CORES > 1 )
else else
{ {
portYIELD_CORE( xCoreID ); portYIELD_CORE( xCoreID );
pxCurrentTCBs[ xCoreID ]->xTaskRunState = taskTASK_YIELDING; pxCurrentTCBs[ xCoreID ]->xTaskRunState = taskTASK_YIELDING;
} }
#endif /* ( configNUM_CORES > 1 ) */ #endif
#endif /* ESP_PLATFORM */
} }
} }