siteswapjuggler / smartball-firmware

Smartball ESP8266 firmware
GNU General Public License v3.0
2 stars 0 forks source link

[system] Watchdog alerts #12

Closed siteswapjuggler closed 5 years ago

siteswapjuggler commented 5 years ago

ESP8266 WiFi stack contain a watchdog process which monitors the WiFi tasks and looks for buffer overloads and timeout.

We suspect it as a possible cause of system freeze even if it standard behaviour is to reboot the board. Anyway a certain number of question comes in mind :

siteswapjuggler commented 5 years ago

wdtFeed and yield added in the main loop to add extra task management time and avoir watch dog timer triggering.

Answer to the previous questions :