Skip to content

Commit 381bd9b

Browse files
authored
feat(wemos-lolin32-lite): add board (#38)
1 parent d951bc9 commit 381bd9b

File tree

2 files changed

+1299
-0
lines changed

2 files changed

+1299
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
/* The name of the board */
3+
"name": "Wemos Lolin32 lite",
4+
5+
/* Board version. Increment it whenever you make changes. */
6+
"version": 1,
7+
8+
/* One-liner description of the board, it's capabilities, etc. */
9+
"description": "A smaller ESP32 dev board by Wemos",
10+
11+
/* The name of the person who created this file */
12+
"author": "Maxime Borges",
13+
14+
/* Microcontroller name. Valid values: atmega328p, atmega2560, attiny85, rp2040, esp32 */
15+
"mcu": "esp32",
16+
17+
/* Fully Qualified Board Name (FQBN) for the Arduino CLI */
18+
"fqbn": "esp32:esp32:lolin32-lite",
19+
20+
/* Width of the board graphics, in mm. Must match the width defined in board.svg */
21+
"width": 25.6,
22+
23+
/* Height of the board graphics, in mm. Must match the height defined in board.svg */
24+
"height": 50,
25+
26+
/* The pins available on the board.
27+
"x"/"y" positions are in mm, and are relative to the top-left corner of the board.
28+
"target" is either:
29+
- an MCU pin name
30+
- "GND" for ground
31+
- "power(n)" for power supply pins, where n is the voltage. e.g. "power(3.3)"
32+
*/
33+
"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" },
37+
"GPIO34": { "x": 1.4, "y": 15, "target": "GPIO34" },
38+
"GPIO35": { "x": 1.4, "y": 17.54, "target": "GPIO35" },
39+
"GPIO32": { "x": 1.4, "y": 20.08, "target": "GPIO32" },
40+
"GPIO33": { "x": 1.4, "y": 22.62, "target": "GPIO33" },
41+
"GPIO25": { "x": 1.4, "y": 25.16, "target": "GPIO25" },
42+
"GPIO26": { "x": 1.4, "y": 27.7, "target": "GPIO26" },
43+
"GPIO27": { "x": 1.4, "y": 30.24, "target": "GPIO27" },
44+
"GPIO14": { "x": 1.4, "y": 32.78, "target": "GPIO14" },
45+
"GPIO12": { "x": 1.4, "y": 35.32, "target": "GPIO12" },
46+
"GND": { "x": 1.4, "y": 37.86, "target": "GND" },
47+
48+
"GPIO13": { "x": 24.26, "y": 37.86, "target": "GPIO13" },
49+
"GPIO15": { "x": 24.26, "y": 35.32, "target": "GPIO15" },
50+
"GPIO2": { "x": 24.26, "y": 32.78, "target": "GPIO2" },
51+
"GPIO0": { "x": 24.26, "y": 30.24, "target": "GPIO0" },
52+
"GPIO4": { "x": 24.26, "y": 27.7, "target": "GPIO4" },
53+
"GPIO16": { "x": 24.26, "y": 25.16, "target": "GPIO16" },
54+
"GPIO17": { "x": 24.26, "y": 22.62, "target": "GPIO17" },
55+
"GPIO5": { "x": 24.26, "y": 20.08, "target": "GPIO5" },
56+
"GPIO18": { "x": 24.26, "y": 17.54, "target": "GPIO18" },
57+
"GPIO23": { "x": 24.26, "y": 15, "target": "GPIO23" },
58+
"GPIO19": { "x": 24.26, "y": 12.46, "target": "GPIO19" },
59+
"GPIO22": { "x": 24.26, "y": 9.92, "target": "GPIO22" },
60+
"3V": { "x": 24.26, "y": 7.38, "target": "power(3.3)" },
61+
62+
"BAT+": { "x": 2.87, "y": 49.3, "target": "power(bat)" },
63+
"BAT-": { "x": 5.41, "y": 49.3, "target": "GND" }
64+
},
65+
66+
/* On-board LED definitions. These only draw the light of the LED when it's on.
67+
You should draw the body of the LED in your .svg file. */
68+
"leds": [
69+
{
70+
"id": "led1",
71+
"x": 21.13,
72+
"y": 8.6,
73+
"type": "0603",
74+
"color": "blue",
75+
"pins": {
76+
"A": "3V",
77+
"C": "GPIO22"
78+
}
79+
}
80+
]
81+
}

0 commit comments

Comments
 (0)