From 613e53f0a1200dda1d46bf2381d4e458f56ec5b0 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Tue, 5 Jul 2022 21:59:07 +0200 Subject: [PATCH] freertos-smp: Fix sdio driver master slave performance test with FreeRTOS SMP This commit relaxes the performance thresholds for sdio driver test when FreeRTOS SMP is enabled. --- components/idf_test/include/idf_performance.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/idf_test/include/idf_performance.h b/components/idf_test/include/idf_performance.h index 6c3d8cd566..06d00d43ae 100644 --- a/components/idf_test/include/idf_performance.h +++ b/components/idf_test/include/idf_performance.h @@ -98,9 +98,17 @@ #ifndef IDF_PERFORMANCE_MIN_SDIO_THROUGHPUT_KBSEC_TOHOST_4BIT #define IDF_PERFORMANCE_MIN_SDIO_THROUGHPUT_KBSEC_TOHOST_4BIT 12200 #endif + +#if !CONFIG_FREERTOS_SMP // IDF-5224 +#ifndef IDF_PERFORMANCE_MIN_SDIO_THROUGHPUT_KBSEC_FRHOST_4BIT +#define IDF_PERFORMANCE_MIN_SDIO_THROUGHPUT_KBSEC_FRHOST_4BIT 11000 // TODO: IDF-5490 +#endif +#else #ifndef IDF_PERFORMANCE_MIN_SDIO_THROUGHPUT_KBSEC_FRHOST_4BIT #define IDF_PERFORMANCE_MIN_SDIO_THROUGHPUT_KBSEC_FRHOST_4BIT 12200 #endif +#endif + #ifndef IDF_PERFORMANCE_MIN_SDIO_THROUGHPUT_KBSEC_TOHOST_1BIT #define IDF_PERFORMANCE_MIN_SDIO_THROUGHPUT_KBSEC_TOHOST_1BIT 4000 #endif