refactor(esp_rom): miniz test only on FPGA now

This commit is contained in:
Jakob Hasse 2023-03-03 18:13:36 +08:00
parent af9e99759a
commit 732ce674f0

View File

@ -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