mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
updating ESP32 board definitions (#7650)
Some checks are pending
CI / Test split components (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
Some checks are pending
CI / Test split components (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
This commit is contained in:
parent
9acc21e81a
commit
5b5c2fe71b
1 changed files with 199 additions and 1 deletions
|
@ -103,6 +103,173 @@ ESP32_BOARD_PINS = {
|
||||||
"LED": 13,
|
"LED": 13,
|
||||||
"LED_BUILTIN": 13,
|
"LED_BUILTIN": 13,
|
||||||
},
|
},
|
||||||
|
"adafruit_feather_esp32s3": {
|
||||||
|
"BUTTON": 0,
|
||||||
|
"A0": 18,
|
||||||
|
"A1": 17,
|
||||||
|
"A2": 16,
|
||||||
|
"A3": 15,
|
||||||
|
"A4": 14,
|
||||||
|
"A5": 8,
|
||||||
|
"SCK": 36,
|
||||||
|
"MOSI": 35,
|
||||||
|
"MISO": 37,
|
||||||
|
"RX": 38,
|
||||||
|
"TX": 39,
|
||||||
|
"SCL": 4,
|
||||||
|
"SDA": 3,
|
||||||
|
"NEOPIXEL": 33,
|
||||||
|
"PIN_NEOPIXEL": 33,
|
||||||
|
"NEOPIXEL_POWER": 21,
|
||||||
|
"I2C_POWER": 7,
|
||||||
|
"LED": 13,
|
||||||
|
"LED_BUILTIN": 13,
|
||||||
|
},
|
||||||
|
"adafruit_feather_esp32s3_nopsram": {
|
||||||
|
"BUTTON": 0,
|
||||||
|
"A0": 18,
|
||||||
|
"A1": 17,
|
||||||
|
"A2": 16,
|
||||||
|
"A3": 15,
|
||||||
|
"A4": 14,
|
||||||
|
"A5": 8,
|
||||||
|
"SCK": 36,
|
||||||
|
"MOSI": 35,
|
||||||
|
"MISO": 37,
|
||||||
|
"RX": 38,
|
||||||
|
"TX": 39,
|
||||||
|
"SCL": 4,
|
||||||
|
"SDA": 3,
|
||||||
|
"NEOPIXEL": 33,
|
||||||
|
"PIN_NEOPIXEL": 33,
|
||||||
|
"NEOPIXEL_POWER": 21,
|
||||||
|
"I2C_POWER": 7,
|
||||||
|
"LED": 13,
|
||||||
|
"LED_BUILTIN": 13,
|
||||||
|
},
|
||||||
|
"adafruit_feather_esp32s3_tft": {
|
||||||
|
"BUTTON": 0,
|
||||||
|
"A0": 18,
|
||||||
|
"A1": 17,
|
||||||
|
"A2": 16,
|
||||||
|
"A3": 15,
|
||||||
|
"A4": 14,
|
||||||
|
"A5": 8,
|
||||||
|
"SCK": 36,
|
||||||
|
"MOSI": 35,
|
||||||
|
"MISO": 37,
|
||||||
|
"RX": 2,
|
||||||
|
"TX": 1,
|
||||||
|
"SCL": 41,
|
||||||
|
"SDA": 42,
|
||||||
|
"NEOPIXEL": 33,
|
||||||
|
"PIN_NEOPIXEL": 33,
|
||||||
|
"NEOPIXEL_POWER": 34,
|
||||||
|
"TFT_I2C_POWER": 21,
|
||||||
|
"TFT_CS": 7,
|
||||||
|
"TFT_DC": 39,
|
||||||
|
"TFT_RESET": 40,
|
||||||
|
"TFT_BACKLIGHT": 45,
|
||||||
|
"LED": 13,
|
||||||
|
"LED_BUILTIN": 13,
|
||||||
|
},
|
||||||
|
"adafruit_funhouse_esp32s2": {
|
||||||
|
"BUTTON_UP": 5,
|
||||||
|
"BUTTON_DOWN": 3,
|
||||||
|
"BUTTON_SELECT": 4,
|
||||||
|
"DOTSTAR_DATA": 14,
|
||||||
|
"DOTSTAR_CLOCK": 15,
|
||||||
|
"PIR_SENSE": 16,
|
||||||
|
"A0": 17,
|
||||||
|
"A1": 2,
|
||||||
|
"A2": 1,
|
||||||
|
"CAP6": 6,
|
||||||
|
"CAP7": 7,
|
||||||
|
"CAP8": 8,
|
||||||
|
"CAP9": 9,
|
||||||
|
"CAP10": 10,
|
||||||
|
"CAP11": 11,
|
||||||
|
"CAP12": 12,
|
||||||
|
"CAP13": 13,
|
||||||
|
"SPEAKER": 42,
|
||||||
|
"LED": 37,
|
||||||
|
"LIGHT": 18,
|
||||||
|
"TFT_MOSI": 35,
|
||||||
|
"TFT_SCK": 36,
|
||||||
|
"TFT_CS": 40,
|
||||||
|
"TFT_DC": 39,
|
||||||
|
"TFT_RESET": 41,
|
||||||
|
"TFT_BACKLIGHT": 21,
|
||||||
|
"RED_LED": 31,
|
||||||
|
"BUTTON": 0,
|
||||||
|
},
|
||||||
|
"adafruit_itsybitsy_esp32": {
|
||||||
|
"A0": 25,
|
||||||
|
"A1": 26,
|
||||||
|
"A2": 4,
|
||||||
|
"A3": 38,
|
||||||
|
"A4": 37,
|
||||||
|
"A5": 36,
|
||||||
|
"SCK": 19,
|
||||||
|
"MOSI": 21,
|
||||||
|
"MISO": 22,
|
||||||
|
"SCL": 27,
|
||||||
|
"SDA": 15,
|
||||||
|
"TX": 20,
|
||||||
|
"RX": 8,
|
||||||
|
"NEOPIXEL": 0,
|
||||||
|
"PIN_NEOPIXEL": 0,
|
||||||
|
"NEOPIXEL_POWER": 2,
|
||||||
|
"BUTTON": 35,
|
||||||
|
},
|
||||||
|
"adafruit_magtag29_esp32s2": {
|
||||||
|
"A1": 18,
|
||||||
|
"BUTTON_A": 15,
|
||||||
|
"BUTTON_B": 14,
|
||||||
|
"BUTTON_C": 12,
|
||||||
|
"BUTTON_D": 11,
|
||||||
|
"SDA": 33,
|
||||||
|
"SCL": 34,
|
||||||
|
"SPEAKER": 17,
|
||||||
|
"SPEAKER_ENABLE": 16,
|
||||||
|
"VOLTAGE_MONITOR": 4,
|
||||||
|
"ACCELEROMETER_INT": 9,
|
||||||
|
"ACCELEROMETER_INTERRUPT": 9,
|
||||||
|
"LIGHT": 3,
|
||||||
|
"NEOPIXEL": 1,
|
||||||
|
"PIN_NEOPIXEL": 1,
|
||||||
|
"NEOPIXEL_POWER": 21,
|
||||||
|
"EPD_BUSY": 5,
|
||||||
|
"EPD_RESET": 6,
|
||||||
|
"EPD_DC": 7,
|
||||||
|
"EPD_CS": 8,
|
||||||
|
"EPD_MOSI": 35,
|
||||||
|
"EPD_SCK": 36,
|
||||||
|
"EPD_MISO": 37,
|
||||||
|
"BUTTON": 0,
|
||||||
|
"LED": 13,
|
||||||
|
"LED_BUILTIN": 13,
|
||||||
|
},
|
||||||
|
"adafruit_metro_esp32s2": {
|
||||||
|
"A0": 17,
|
||||||
|
"A1": 18,
|
||||||
|
"A2": 1,
|
||||||
|
"A3": 2,
|
||||||
|
"A4": 3,
|
||||||
|
"A5": 4,
|
||||||
|
"RX": 38,
|
||||||
|
"TX": 37,
|
||||||
|
"SCL": 34,
|
||||||
|
"SDA": 33,
|
||||||
|
"MISO": 37,
|
||||||
|
"SCK": 36,
|
||||||
|
"MOSI": 35,
|
||||||
|
"NEOPIXEL": 45,
|
||||||
|
"PIN_NEOPIXEL": 45,
|
||||||
|
"LED": 42,
|
||||||
|
"LED_BUILTIN": 42,
|
||||||
|
"BUTTON": 0,
|
||||||
|
},
|
||||||
"adafruit_qtpy_esp32c3": {
|
"adafruit_qtpy_esp32c3": {
|
||||||
"A0": 4,
|
"A0": 4,
|
||||||
"A1": 3,
|
"A1": 3,
|
||||||
|
@ -141,6 +308,26 @@ ESP32_BOARD_PINS = {
|
||||||
"BUTTON": 0,
|
"BUTTON": 0,
|
||||||
"SWITCH": 0,
|
"SWITCH": 0,
|
||||||
},
|
},
|
||||||
|
"adafruit_qtpy_esp32s3_nopsram": {
|
||||||
|
"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,
|
||||||
|
"BUTTON": 0,
|
||||||
|
"SWITCH": 0,
|
||||||
|
},
|
||||||
"adafruit_qtpy_esp32": {
|
"adafruit_qtpy_esp32": {
|
||||||
"A0": 26,
|
"A0": 26,
|
||||||
"A1": 25,
|
"A1": 25,
|
||||||
|
@ -1068,7 +1255,18 @@ ESP32_BOARD_PINS = {
|
||||||
"_VBAT": 35,
|
"_VBAT": 35,
|
||||||
},
|
},
|
||||||
"wemosbat": {"LED": 16},
|
"wemosbat": {"LED": 16},
|
||||||
"wesp32": {"MISO": 32, "SCL": 4, "SDA": 15},
|
"wesp32": {
|
||||||
|
"MISO": 32,
|
||||||
|
"MOSI": 23,
|
||||||
|
"SCK": 18,
|
||||||
|
"SCL": 4,
|
||||||
|
"SDA": 15,
|
||||||
|
"MISO1": 12,
|
||||||
|
"MOSI1": 13,
|
||||||
|
"SCK1": 14,
|
||||||
|
"SCL1": 5,
|
||||||
|
"SDA1": 33,
|
||||||
|
},
|
||||||
"widora-air": {
|
"widora-air": {
|
||||||
"A1": 39,
|
"A1": 39,
|
||||||
"A2": 35,
|
"A2": 35,
|
||||||
|
|
Loading…
Reference in a new issue