espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.36k stars 7.21k forks source link

hii i have just started esp idf and i was interested in interrupt watch dog...but i am unable to activate it in make menuconfig which is not showing any option....however if i block my code it is always showing task wdt triggered though i enabled iterrupt watch dog in code any help in this regard #1950

Closed usmanshahid001 closed 6 years ago

usmanshahid001 commented 6 years ago

----------------------------- Delete below -----------------------------

If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at esp32.com instead.

INSTRUCTIONS

Before submitting a new issue, please follow the checklist and try to find the answer.

If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.

  1. Fill in all the fields under Environment marked with [ ] by picking the correct option for you in each case and deleting the others.
  2. Describe your problem.
  3. Include debug logs on the monitor or the coredump.
  4. Provide more items under Other items if possible can help us better locate your problem.
  5. Use markup (buttons above) and the Preview tab to check what the issue will look like.
  6. Delete these instructions from the above to the below marker lines before submitting this issue.

----------------------------- Delete above -----------------------------

Environment

Problem Description

//Detailed problem description goes here.

Expected Behavior

Actual Behavior

Steps to repropduce

  1. step1
  2. ...

// It helps if you attach a picture of your setup/wiring here.

Code to reproduce this issue

// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.

Debug Logs

Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

negativekelvin commented 6 years ago

Your title is way too long

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

https://github.com/espressif/esp-idf/blob/a2556229aa6f55b16b171e3325ee9ab1943e8552/components/esp32/Kconfig#L516-L586

projectgus commented 6 years ago

Hi @usmanshahid001 ,

The best places to ask questions like this is the forum: https://esp32.com

Please don't write your entire question in the title. Please don't ignore all the template text in the description and post it as-is.

The watchdog timeout docs can be found at the link @negativekelvin posted, above.

The documentation for the config items can be found here: http://esp-idf.readthedocs.io/en/latest/api-reference/kconfig.html#int-wdt

If you press the '/' key inside menuconfig then you can search for something like "INT_WDT" and it will tell you where in the menu you can find this.