diff --git a/components/esp32/Makefile.projbuild b/components/esp32/Makefile.projbuild index 0ae77a69d2..cf8746f268 100644 --- a/components/esp32/Makefile.projbuild +++ b/components/esp32/Makefile.projbuild @@ -2,6 +2,7 @@ ifdef CONFIG_SPIRAM_CACHE_WORKAROUND CFLAGS+=-mfix-esp32-psram-cache-issue CXXFLAGS+=-mfix-esp32-psram-cache-issue +LDFLAGS+=-mfix-esp32-psram-cache-issue endif # Enable dynamic esp_timer overflow value if building unit tests