From fcad5f0a1d33c1beec46b508b029094a6c8d1f00 Mon Sep 17 00:00:00 2001 From: wuzhenghui Date: Tue, 19 May 2026 11:32:42 +0800 Subject: [PATCH] fix(esp_system): fix build err if int_wdt is not enabled on esp32 --- components/esp_system/port/soc/esp32/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()