mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user