From 33dec4175aae6b97e50728b2da2beda6c1ea5f3d Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Fri, 22 Mar 2024 14:32:18 +0100 Subject: [PATCH] fix(freertos): Updated threshold for scheduling time test for esp32p4 This commit increases the pass threshold for the scheduling time test on esp32p4. --- components/idf_test/include/esp32p4/idf_performance_target.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/idf_test/include/esp32p4/idf_performance_target.h b/components/idf_test/include/esp32p4/idf_performance_target.h index ae02683c52..c6c55fc01a 100644 --- a/components/idf_test/include/esp32p4/idf_performance_target.h +++ b/components/idf_test/include/esp32p4/idf_performance_target.h @@ -7,3 +7,6 @@ /* Spinlock performance on esp32p4 is slower. May need to adjust these values once IDF-7898 is fixed */ #define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP 380 #define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP_UNICORE 135 + +/* Solicited yields (portYIELD() or taskYIELD()) take longer on esp32p4. TODO: IDF-2809 */ +#define IDF_PERFORMANCE_MAX_SCHEDULING_TIME 2900