mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
freertos: Enable FPU ISR core pinning test for IDF FreeRTOS
This commit is contained in:
@@ -106,9 +106,6 @@ Expected:
|
|||||||
- The ISR using the FPU will not affect the unpinned task's affinity
|
- The ISR using the FPU will not affect the unpinned task's affinity
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Known issue in IDF FreeRTOS (IDF-6068), already fixed in SMP FreeRTOS
|
|
||||||
#if CONFIG_FREERTOS_SMP
|
|
||||||
|
|
||||||
static void unpinned_task(void *arg)
|
static void unpinned_task(void *arg)
|
||||||
{
|
{
|
||||||
// Disable scheduling/preemption to make sure the current task doesn't switch cores
|
// Disable scheduling/preemption to make sure the current task doesn't switch cores
|
||||||
@@ -159,6 +156,4 @@ TEST_CASE("FPU: Level 1 ISR does not affect unpinned task", "[freertos]")
|
|||||||
vTaskDelay(10); // Short delay to allow task memory to be freed
|
vTaskDelay(10); // Short delay to allow task memory to be freed
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CONFIG_FREERTOS_SMP
|
|
||||||
|
|
||||||
#endif // SOC_CPU_HAS_FPU && CONFIG_FREERTOS_FPU_IN_ISR
|
#endif // SOC_CPU_HAS_FPU && CONFIG_FREERTOS_FPU_IN_ISR
|
||||||
|
Reference in New Issue
Block a user