Skip to content

Watchdog functions missing #147

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

Closed
cbxbiker61 opened this issue Jan 25, 2017 · 9 comments
Closed

Watchdog functions missing #147

cbxbiker61 opened this issue Jan 25, 2017 · 9 comments

Comments

@cbxbiker61
Copy link

Could you include task_wdt.c in the build? It's currently not in the libraries.

@me-no-dev
Copy link
Member

Where is that file? I include everything that comes in esp-idf

@cbxbiker61
Copy link
Author

esp-idf/components/esp32/task_wdt.c

@me-no-dev
Copy link
Member

if it's in idf, it's in the libs :) all libs are compiled and included with arduino

@igrr
Copy link
Member

igrr commented Jan 25, 2017

Task watchdog functions will only be compiled if task watchdog option is enabled in sdkconfig (it's not enabled for Arduino build). Uncheck "also watch idle task on app CPU" option though, otherwise task watchdog will complain about the always-running arduino task.

@Curclamas
Copy link
Contributor

Is there any possibility to use "make menuconfig"/change sdkconfig while using Arduino IDE? I tried to change the sdconfig.h in the Arduino folder but that did not change anything. Also (even when #include "esp_task_wdt.h") it won't compile since it complains that "esp_task_wdt_init" is not defined. I also added the wdt config related lines from another project to sdconfig.h manually but it did not change anything.
TL;DR: How could one make use of the task wdt function while using Arduino IDE?

@me-no-dev
Copy link
Member

I'm prepping some more changes and will include it in the next update of the libs.

@me-no-dev
Copy link
Member

can you please pull the latest commits, switch to my branch and see if watchdog is now there :)
git pull && git checkout me-no-dev

@me-no-dev
Copy link
Member

watchdog functions added :)

@KamaleshSubramanian
Copy link

I am new to this... can you please instruct me step by step to make watchdog functions work for esp32 ? @me-no-dev

darkxst pushed a commit to darkxst/arduino-esp32 that referenced this issue Dec 5, 2024
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

5 participants