mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Addition of Deep Sleep RTC pin definition for ESP32-S2 (#3303)
This commit is contained in:
parent
fdda47db6e
commit
dabd27d4be
1 changed files with 25 additions and 0 deletions
|
@ -15,6 +15,7 @@ from esphome.components.esp32 import get_esp32_variant
|
|||
from esphome.components.esp32.const import (
|
||||
VARIANT_ESP32,
|
||||
VARIANT_ESP32C3,
|
||||
VARIANT_ESP32S2,
|
||||
)
|
||||
|
||||
WAKEUP_PINS = {
|
||||
|
@ -39,6 +40,30 @@ WAKEUP_PINS = {
|
|||
39,
|
||||
],
|
||||
VARIANT_ESP32C3: [0, 1, 2, 3, 4, 5],
|
||||
VARIANT_ESP32S2: [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
21,
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue