touch_sensor: forbid from using touch sensor with sleep on ESP32-S3

This is not supported yet.
This commit is contained in:
Michael (XIAO Xufeng)
2022-03-24 03:00:47 +08:00
parent 671b6ae82f
commit a84faa3cef
4 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 | ESP32-S2 | ESP32-C3 |
| ----------------- | ----- | -------- | -------- |
# Deep Sleep Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@@ -3,7 +3,7 @@ menu "Example Configuration"
config EXAMPLE_TOUCH_WAKEUP
bool "Enable touch wake up"
default y
depends on !IDF_TARGET_ESP32C3
depends on !IDF_TARGET_ESP32C3 && !IDF_TARGET_ESP32S3
help
This option enables wake up from deep sleep using touch pads
TOUCH8 and TOUCH9, which correspond to GPIO33 and GPIO32.