diff --git a/esphome/components/esp32/boards.py b/esphome/components/esp32/boards.py index d2d060f33f..7a61c6ae3d 100644 --- a/esphome/components/esp32/boards.py +++ b/esphome/components/esp32/boards.py @@ -42,6 +42,64 @@ ESP32_BASE_PINS = { } ESP32_BOARD_PINS = { + "adafruit_qtpy_esp32c3": { + "A0": 4, + "A1": 3, + "A2": 1, + "A3": 0, + "SDA": 5, + "SCL": 6, + "MOSI": 7, + "MISO": 8, + "SCK": 10, + "RX": 20, + "TX": 21, + "NEOPIXEL": 2, + "PIN_NEOPIXEL": 2, + "BUTTON": 9, + "SWITCH": 9, + }, + "adafruit_qtpy_esp32s2": { + "A0": 18, + "A1": 17, + "A2": 9, + "A3": 8, + "SDA": 7, + "SCL": 6, + "MOSI": 35, + "MISO": 37, + "SCK": 36, + "RX": 16, + "TX": 5, + "SDA1": 41, + "SCL1": 40, + "NEOPIXEL": 39, + "PIN_NEOPIXEL": 39, + "NEOPIXEL_POWER": 38, + "D0": 0, + "BUTTON": 0, + "SWITCH": 0, + }, + "adafruit_qtpy_esp32": { + "A0": 26, + "A1": 25, + "A2": 27, + "A3": 15, + "SDA": 4, + "SCL": 33, + "MOSI": 13, + "MISO": 12, + "SCK": 14, + "RX": 7, + "TX": 32, + "SDA1": 22, + "SCL1": 19, + "NEOPIXEL": 5, + "PIN_NEOPIXEL": 5, + "NEOPIXEL_POWER": 8, + "BUTTON": 0, + "SWITCH": 0, + }, "alksesp32": { "A0": 32, "A1": 33,