Skip to content

Commit 0ecc76c

Browse files
authored
Add Lolin S2 Mini board (platformio#736)
Resolves platformio#722
1 parent df3172c commit 0ecc76c

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

boards/lolin_s2_mini.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"ldscript": "esp32s2_out.ld"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_LOLIN_S2_MINI",
9+
"-DBOARD_HAS_PSRAM",
10+
"-DARDUINO_USB_CDC_ON_BOOT=1"
11+
],
12+
"f_cpu": "240000000L",
13+
"f_flash": "80000000L",
14+
"flash_mode": "dio",
15+
"hwids": [
16+
[
17+
"0X303A",
18+
"0x80C2"
19+
]
20+
],
21+
"mcu": "esp32s2",
22+
"variant": "lolin_s2_mini"
23+
},
24+
"connectivity": [
25+
"wifi"
26+
],
27+
"debug": {
28+
"openocd_board": "esp32s2.cfg"
29+
},
30+
"frameworks": [
31+
"arduino",
32+
"espidf"
33+
],
34+
"name": "WEMOS LOLIN S2 Mini",
35+
"upload": {
36+
"flash_size": "4MB",
37+
"maximum_ram_size": 327680,
38+
"maximum_size": 4194304,
39+
"use_1200bps_touch": true,
40+
"wait_for_upload_port": true,
41+
"require_upload_port": true,
42+
"speed": 921600
43+
},
44+
"url": "https://www.wemos.cc/en/latest/s2/s2_mini.html",
45+
"vendor": "WEMOS"
46+
}

0 commit comments

Comments
 (0)