Map LOLIN C3 mini board pins (#3587)

This commit is contained in:
Mateus Demboski 2022-06-20 20:33:20 -03:00 committed by GitHub
parent b0d1c801bd
commit 01b3815f27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -521,6 +521,33 @@ ESP32_BOARD_PINS = {
}, },
"lolin32": {"LED": 5}, "lolin32": {"LED": 5},
"lolin32_lite": {"LED": 22}, "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": {"LED": 5, "_VBAT": 35},
"lolin_d32_pro": {"LED": 5, "_VBAT": 35}, "lolin_d32_pro": {"LED": 5, "_VBAT": 35},
"lopy": { "lopy": {
@ -1026,6 +1053,7 @@ BOARD_TO_VARIANT = {
"labplus_mpython": VARIANT_ESP32, "labplus_mpython": VARIANT_ESP32,
"lolin32_lite": VARIANT_ESP32, "lolin32_lite": VARIANT_ESP32,
"lolin32": VARIANT_ESP32, "lolin32": VARIANT_ESP32,
"lolin_c3_mini": VARIANT_ESP32C3,
"lolin_d32_pro": VARIANT_ESP32, "lolin_d32_pro": VARIANT_ESP32,
"lolin_d32": VARIANT_ESP32, "lolin_d32": VARIANT_ESP32,
"lopy4": VARIANT_ESP32, "lopy4": VARIANT_ESP32,