freertos: Disable portUSING_MPU_WRAPPERS in FreeRTOS SMP Xtensa port

This commit disables portUSING_MPU_WRAPPERS for the FreeRTOS SMP xtensa port.
This was previously enabled due to the need to keep a CPSA (coprocessor save
area pointer) in the TCB. The CPSA pointer is now calculated at run time.
This commit is contained in:
Darian Leung
2022-04-07 14:20:46 +08:00
parent 8b4e032255
commit 8c92d0b2af
6 changed files with 77 additions and 138 deletions

View File

@@ -2835,13 +2835,6 @@ static BaseType_t prvCreateIdleTasks( void )
#endif
}
#endif /* configSUPPORT_STATIC_ALLOCATION */
#ifdef ESP_PLATFORM
#if ( configUSE_CORE_AFFINITY == 1 && configNUM_CORES > 1 )
//Don't forget to pin the created IDLE tasks
vTaskCoreAffinitySet(xIdleTaskHandle[ xCoreID ], (1 << xCoreID) );
#endif
#endif
}
return xReturn;