mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user