From f58c5b21ecdc30625da087d8991a47b4910c5cd8 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 1 Dec 2017 16:23:03 +0800 Subject: [PATCH] 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. --- components/esp32/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index f4fe83f0c..f1d31fd19 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -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.