Addition of Deep Sleep RTC pin definition for ESP32-S2 (#3303)

This commit is contained in:
andrewpc 2022-04-12 10:45:54 +10:00 committed by GitHub
parent fdda47db6e
commit dabd27d4be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@ from esphome.components.esp32 import get_esp32_variant
from esphome.components.esp32.const import ( from esphome.components.esp32.const import (
VARIANT_ESP32, VARIANT_ESP32,
VARIANT_ESP32C3, VARIANT_ESP32C3,
VARIANT_ESP32S2,
) )
WAKEUP_PINS = { WAKEUP_PINS = {
@ -39,6 +40,30 @@ WAKEUP_PINS = {
39, 39,
], ],
VARIANT_ESP32C3: [0, 1, 2, 3, 4, 5], 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,
],
} }