Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrappers for esp-idf watchdog #231

Open
basvs opened this issue Jan 8, 2018 · 3 comments
Open

Wrappers for esp-idf watchdog #231

basvs opened this issue Jan 8, 2018 · 3 comments

Comments

@basvs
Copy link

basvs commented Jan 8, 2018

(haven't checked whether the esp-idf has a watchdog..)

@Roosted7
Copy link
Member

Roosted7 commented Jan 8, 2018

I think FreeRTOS has that exposed

@annejan
Copy link
Member

annejan commented Jan 8, 2018

It should, I remember seeing Watchdog warnings early in development.

@basvs
Copy link
Author

basvs commented Jan 11, 2018

https://esp-idf.readthedocs.io/en/latest/api-reference/system/wdts.html

Could use this to add these methods:

  • esp32.wdt_init(ms) — ms is the max. number of milliseconds between two wdt_feed() calls.
  • esp32.wdt_reset() ­— reset config; disable watchdog
  • esp32.wdt_feed() — have to periodically call this method to avoid badge reboot.

Something like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants