Kconfig.projbuild 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. menu "Example Configuration"
  2. config EXAMPLE_TOUCH_WAKEUP
  3. bool "Enable touch wake up"
  4. default y
  5. depends on !IDF_TARGET_ESP32C3
  6. help
  7. This option enables wake up from deep sleep using touch pads
  8. TOUCH8 and TOUCH9, which correspond to GPIO33 and GPIO32.
  9. config EXAMPLE_ULP_TEMPERATURE_WAKEUP
  10. bool "Enable temperature monitoring by ULP"
  11. default y
  12. depends on IDF_TARGET_ESP32
  13. help
  14. This option enables wake up from deep sleep using ULP.
  15. ULP program monitors the on-chip temperature sensor and
  16. wakes up the chip when the temperature goes outside of
  17. the window defined by the initial temperature and a threshold
  18. around it.
  19. config EXAMPLE_EXT1_WAKEUP
  20. bool "Enable wakeup from GPIO"
  21. default y
  22. depends on !IDF_TARGET_ESP32C3
  23. help
  24. This option enables wake up from deep sleep from GPIO2 and GPIO4. They should be connected to LOW to avoid
  25. floating pins. When triggering a wake up, connect one or both of the pins to HIGH. Note that floating
  26. pins may trigger a wake up.
  27. config EXAMPLE_GPIO_WAKEUP
  28. bool "Enable wakeup from GPIO"
  29. default y
  30. depends on IDF_TARGET_ESP32C3
  31. help
  32. This option enables wake up from GPIO, only GPIO0~5 can be used to wake up. Be aware that if you use low level
  33. to trigger wakeup, we strongly recommand you to connect external pull-up resistance.
  34. menu "GPIO wakeup configuration"
  35. visible if IDF_TARGET_ESP32C3
  36. config EXAMPLE_GPIO_WAKEUP_PIN
  37. int "Enable wakeup from GPIO"
  38. default 0
  39. range 0 5
  40. config EXAMPLE_GPIO_WAKEUP_HIGH_LEVEL
  41. bool "Enable GPIO high-level wakeup"
  42. default y
  43. help
  44. This option set the gpio wake-up trigger signal, In deep sleep, only high or low level wake-up is
  45. supported. If this option is enabled, it is a high level wake up, otherwise it is a low level wake up.
  46. endmenu
  47. endmenu