diff --git a/components/esp_system/port/soc/esp32/CMakeLists.txt b/components/esp_system/port/soc/esp32/CMakeLists.txt index f6e8c890292..a9d2e82bc34 100644 --- a/components/esp_system/port/soc/esp32/CMakeLists.txt +++ b/components/esp_system/port/soc/esp32/CMakeLists.txt @@ -4,7 +4,7 @@ set(srcs "highint_hdl.S" "system_internal.c" "cache_err_int.c") -if(CONFIG_ESP32_ECO3_CACHE_LOCK_FIX) +if(CONFIG_ESP32_ECO3_CACHE_LOCK_FIX AND CONFIG_ESP_INT_WDT) list(APPEND srcs "eco3_livelock_workaround.c") endif()