]> granicus.if.org Git - esp-idf/commitdiff
watchdog: increase default INT WDT interval if SPIRAM is used
authorIvan Grokhotkov <ivan@espressif.com>
Fri, 1 Dec 2017 08:23:03 +0000 (16:23 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Fri, 1 Dec 2017 12:10:26 +0000 (20:10 +0800)
Running heap_caps_check_integrity for 4MB of PSRAM can take longer than
the default WDT interval, 300ms.

components/esp32/Kconfig

index f4fe83f0cdc260c01494f1c5be7187f1f62ba055..f1d31fd199293f5e96dbc479f661cdd640022f2b 100644 (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.