mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Map LOLIN C3 mini board pins (#3587)
This commit is contained in:
parent
b0d1c801bd
commit
01b3815f27
1 changed files with 28 additions and 0 deletions
|
@ -521,6 +521,33 @@ ESP32_BOARD_PINS = {
|
|||
},
|
||||
"lolin32": {"LED": 5},
|
||||
"lolin32_lite": {"LED": 22},
|
||||
"lolin_c3_mini": {
|
||||
"TX": 21,
|
||||
"RX": 20,
|
||||
"SDA": 8,
|
||||
"SCL": 10,
|
||||
"SS": 5,
|
||||
"MOSI": 4,
|
||||
"MISO": 3,
|
||||
"SCK": 2,
|
||||
"A0": 0,
|
||||
"A1": 1,
|
||||
"A2": 2,
|
||||
"A3": 3,
|
||||
"A4": 4,
|
||||
"A5": 5,
|
||||
"D0": 1,
|
||||
"D1": 10,
|
||||
"D2": 8,
|
||||
"D3": 7,
|
||||
"D4": 6,
|
||||
"D5": 2,
|
||||
"D6": 3,
|
||||
"D7": 4,
|
||||
"D8": 5,
|
||||
"LED": 7,
|
||||
"BUTTON": 9,
|
||||
},
|
||||
"lolin_d32": {"LED": 5, "_VBAT": 35},
|
||||
"lolin_d32_pro": {"LED": 5, "_VBAT": 35},
|
||||
"lopy": {
|
||||
|
@ -1026,6 +1053,7 @@ BOARD_TO_VARIANT = {
|
|||
"labplus_mpython": VARIANT_ESP32,
|
||||
"lolin32_lite": VARIANT_ESP32,
|
||||
"lolin32": VARIANT_ESP32,
|
||||
"lolin_c3_mini": VARIANT_ESP32C3,
|
||||
"lolin_d32_pro": VARIANT_ESP32,
|
||||
"lolin_d32": VARIANT_ESP32,
|
||||
"lopy4": VARIANT_ESP32,
|
||||
|
|
Loading…
Reference in a new issue