Skip to content

Commit cd3a6a3

Browse files
committed
fix(wemos-lolin32-lite): add missing RX/TX pins, fix VP/VN/EN
1 parent 381bd9b commit cd3a6a3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

boards/wemos-lolin32-lite/board.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
/* The name of the board */
3-
"name": "Wemos Lolin32 lite",
3+
"name": "Wemos Lolin32 Lite",
44

55
/* Board version. Increment it whenever you make changes. */
66
"version": 1,
@@ -31,9 +31,9 @@
3131
- "power(n)" for power supply pins, where n is the voltage. e.g. "power(3.3)"
3232
*/
3333
"pins": {
34-
"VP": { "x": 1.4, "y": 7.38, "target": "VP" },
35-
"VN": { "x": 1.4, "y": 9.92, "target": "VN" },
36-
"EN": { "x": 1.4, "y": 12.46, "target": "EN" },
34+
"VP": { "x": 1.4, "y": 7.38, "target": "GPIO36" },
35+
"VN": { "x": 1.4, "y": 9.92, "target": "GPIO39" },
36+
"EN": { "x": 1.4, "y": 12.46, "target": "CHIP_PU" },
3737
"GPIO34": { "x": 1.4, "y": 15, "target": "GPIO34" },
3838
"GPIO35": { "x": 1.4, "y": 17.54, "target": "GPIO35" },
3939
"GPIO32": { "x": 1.4, "y": 20.08, "target": "GPIO32" },
@@ -60,7 +60,11 @@
6060
"3V": { "x": 24.26, "y": 7.38, "target": "power(3.3)" },
6161

6262
"BAT+": { "x": 2.87, "y": 49.3, "target": "power(bat)" },
63-
"BAT-": { "x": 5.41, "y": 49.3, "target": "GND" }
63+
"BAT-": { "x": 5.41, "y": 49.3, "target": "GND" },
64+
65+
/* Virual UART pins, connected to the CH340C chip */
66+
"TX": { "target": "GPIO1" },
67+
"RX": { "target": "GPIO3" }
6468
},
6569

6670
/* On-board LED definitions. These only draw the light of the LED when it's on.

0 commit comments

Comments
 (0)