fix(esp_system): fix build err if int_wdt is not enabled on esp32

This commit is contained in:
wuzhenghui
2026-05-19 11:32:42 +08:00
parent e99ea90ee8
commit fcad5f0a1d

View File

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