-->
Page 2 of 2

Re: disable watchdog ?

PostPosted: Fri Jul 17, 2015 7:48 am
by noisette
thank you
I use esp8266 on arduino IDE, does system_os_task works ?
I do not find any information about this :/

Re: disable watchdog ?

PostPosted: Fri Jul 17, 2015 8:11 am
by eriksl
If you're using Arduino, I guess you should ask/complain with them...

Re: disable watchdog ?

PostPosted: Sun Jul 19, 2015 9:22 am
by noisette
Hi
unfortunately, there is no equivalent forum for esp8266 on arduino IDE :/
Does someone have a clue for me ?

Re: disable watchdog ?

PostPosted: Sun Jul 19, 2015 10:48 am
by martinayotte
The ArduinoIDE for ESP is using system_os_task() to get the loop() task working. You can take a look at file esp8266/cores/esp8266/core_esp8266_main.cpp. Maybe you can create a new task the same way.
Or, you can use some pseudo threads on top of it, like https://github.com/ivanseidel/ArduinoThread