fix(iwdt): increased default timeout if using PSRAM

Default timeout for interrupt WDT was increased by default
on ESP32, due to some heap integrity check APIs taking a long
time on large PSRAMs and causing timeouts.

But this adjustment was only done for ESP32, not later chips,
even though they may experience the same issue.

Adjusted to have the same behavior on all chips with PSRAM
enabled, making it consistant with the docs.

Closes https://github.com/espressif/esp-idf/issues/18360
This commit is contained in:
Marius Vikhammer
2026-06-10 10:20:50 +08:00
parent 167ea95823
commit 1db2e04c21
3 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -281,8 +281,8 @@ menu "ESP System Settings"
config ESP_INT_WDT_TIMEOUT_MS
int "Interrupt watchdog timeout (ms)"
depends on ESP_INT_WDT
default 300 if !(SPIRAM && IDF_TARGET_ESP32)
default 800 if (SPIRAM && IDF_TARGET_ESP32)
default 300 if !SPIRAM
default 800 if SPIRAM
range 10 10000
help
The timeout of the watchdog, in milliseconds. Make this higher than the FreeRTOS tick rate.