fix(freertos): Updated threshold for scheduling time test for esp32p4

This commit increases the pass threshold for the scheduling time test on
esp32p4.
This commit is contained in:
wuzhenghui 2024-03-26 20:45:50 +08:00
parent 621effce5b
commit 7408732688
No known key found for this signature in database
GPG Key ID: 3EFEDECDEBA39BB9
2 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ void vTestOnAllCores(TestFunction_t pxTestCode, void * pvTestCodeArg, uint32_t u
vTaskDelete(xTaskHandles[ xCoreID ]); vTaskDelete(xTaskHandles[ xCoreID ]);
} }
vSemaphoreDelete(xTaskDoneSem); vSemaphoreDelete(xTaskDoneSem);
vTaskDelay(10); // Short delay to allow task memory to be freed
} }
#endif /* ( CONFIG_FREERTOS_NUMBER_OF_CORES > 1 ) */ #endif /* ( CONFIG_FREERTOS_NUMBER_OF_CORES > 1 ) */

View File

@ -9,4 +9,4 @@
#define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP_UNICORE 150 #define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP_UNICORE 150
/* Solicited yields (portYIELD() or taskYIELD()) take longer on esp32p4. TODO: IDF-2809 */ /* Solicited yields (portYIELD() or taskYIELD()) take longer on esp32p4. TODO: IDF-2809 */
#define IDF_PERFORMANCE_MAX_SCHEDULING_TIME 2900 #define IDF_PERFORMANCE_MAX_SCHEDULING_TIME 3200