Преглед изворни кода

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.
Zim Kalinowski пре 3 година
родитељ
комит
613e53f0a1
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      components/idf_test/include/idf_performance.h

+ 8 - 0
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