From 1581c494d38c840f2c3e22610530b6ba29d6a1e1 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 098e998aae..75b75361b7 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 @@ -102,3 +105,4 @@ TEST_CASE("Test miniz compression/decompression", "[rom][miniz]") #endif //#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32) #endif // CONFIG_SPIRAM +#endif // CONFIG_IDF_ENV_FPGA