From 732ce674f04716f95664ed01218e67119704561d Mon Sep 17 00:00:00 2001 From: Jakob Hasse Date: Fri, 3 Mar 2023 18:13:36 +0800 Subject: [PATCH] refactor(esp_rom): miniz test only on FPGA now --- components/esp_rom/test/test_miniz.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/esp_rom/test/test_miniz.c b/components/esp_rom/test/test_miniz.c index 4744aba6a9..5efc73adb7 100644 --- a/components/esp_rom/test/test_miniz.c +++ b/components/esp_rom/test/test_miniz.c @@ -5,6 +5,9 @@ #include "sdkconfig.h" #include "unity.h" +// Testing ROM code is only useful during FPGA testing and chip bringup +#if CONFIG_IDF_ENV_FPGA + // compression/decompression will take off a bunch of memory // test it only with PSRAM enabled #ifdef CONFIG_SPIRAM @@ -104,3 +107,4 @@ TEST_CASE("Test miniz compression/decompression", "[rom][miniz]") #endif //#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32) #endif // CONFIG_SPIRAM +#endif // CONFIG_IDF_ENV_FPGA