watchdog: increase default INT WDT interval if SPIRAM is used

Running heap_caps_check_integrity for 4MB of PSRAM can take longer than
the default WDT interval, 300ms.
This commit is contained in:
Ivan Grokhotkov 2017-12-01 16:23:03 +08:00
parent 15b6b64c99
commit f58c5b21ec

View File

@ -521,7 +521,8 @@ config INT_WDT
config INT_WDT_TIMEOUT_MS
int "Interrupt watchdog timeout (ms)"
depends on INT_WDT
default 300
default 300 if !SPIRAM_SUPPORT
default 800 if SPIRAM_SUPPORT
range 10 10000
help
The timeout of the watchdog, in miliseconds. Make this higher than the FreeRTOS tick rate.