Does anybody know the watchdog timeout value?
Or knows how to define the value?
All trials with
void user_init(void)
{
uint32 delay=200000;
// Configure the UART
uart_init(BIT_RATE_115200, BIT_RATE_115200);
// ets_wdt_init(100000);
ets_wdt_enable();
// ets_wdt_disable();
wdt_feed();
ets_uart_printf("START\r\n");
wdt_feed();
// for(;;) //gets wdt_reset after very short time.
for(;;) // no wdt resets at all
{
ets_delay_us(delay);
delay+=200000;
wdt_feed();
ets_uart_printf("%d\r\n",delay);
wdt_feed();
}
gets wdt_reset after very short time or never wdt_reset
I also tried ets_wdt_init(100000); This function seems to exist as make all sends no error.
But I din't find any doc about the function.