Skip to content

Commit 8b4ce44

Browse files
MFornanderivankravets
authored andcommitted
Add WEMOS D1 mini Lite board. Clean up naming, JSON, and links on WEMOS D1 and D1 mini. (#38)
1 parent e75d211 commit 8b4ce44

File tree

3 files changed

+61
-36
lines changed

3 files changed

+61
-36
lines changed

boards/d1.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
22
"build": {
3-
"core": "esp8266",
4-
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DESP8266_WEMOS_D1MINI",
5-
"f_cpu": "80000000L",
6-
"f_flash": "40000000L",
7-
"flash_mode": "dio",
8-
"ldscript": "esp8266.flash.4m1m.ld",
9-
"mcu": "esp8266",
3+
"core": "esp8266",
4+
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DESP8266_WEMOS_D1MINI",
5+
"f_cpu": "80000000L",
6+
"f_flash": "40000000L",
7+
"flash_mode": "dio",
8+
"ldscript": "esp8266.flash.4m1m.ld",
9+
"mcu": "esp8266",
1010
"variant": "d1"
11-
},
11+
},
1212
"frameworks": [
1313
"arduino"
14-
],
15-
"name": "WeMos D1(Retired)",
14+
],
15+
"name": "WEMOS D1 (Retired)",
1616
"upload": {
17-
"maximum_ram_size": 81920,
18-
"maximum_size": 4194304,
19-
"require_upload_port": true,
20-
"resetmethod": "nodemcu",
17+
"maximum_ram_size": 81920,
18+
"maximum_size": 4194304,
19+
"require_upload_port": true,
20+
"resetmethod": "nodemcu",
2121
"speed": 115200
22-
},
23-
"url": "http://www.wemos.cc/wiki/doku.php?id=en:d1",
24-
"vendor": "WeMos"
25-
}
22+
},
23+
"url": "https://wiki.wemos.cc/products:d1:d1",
24+
"vendor": "WEMOS"
25+
}

boards/d1_mini.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
22
"build": {
3-
"core": "esp8266",
4-
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DESP8266_WEMOS_D1MINI",
5-
"f_cpu": "80000000L",
6-
"f_flash": "40000000L",
7-
"flash_mode": "dio",
8-
"ldscript": "esp8266.flash.4m1m.ld",
9-
"mcu": "esp8266",
3+
"core": "esp8266",
4+
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DESP8266_WEMOS_D1MINI",
5+
"f_cpu": "80000000L",
6+
"f_flash": "40000000L",
7+
"flash_mode": "dio",
8+
"ldscript": "esp8266.flash.4m1m.ld",
9+
"mcu": "esp8266",
1010
"variant": "d1_mini"
11-
},
11+
},
1212
"frameworks": [
1313
"arduino"
14-
],
15-
"name": "WeMos D1 R2 & mini",
14+
],
15+
"name": "WEMOS D1 mini",
1616
"upload": {
17-
"maximum_ram_size": 81920,
18-
"maximum_size": 4194304,
19-
"require_upload_port": true,
20-
"resetmethod": "nodemcu",
17+
"maximum_ram_size": 81920,
18+
"maximum_size": 1044464,
19+
"require_upload_port": true,
20+
"resetmethod": "nodemcu",
2121
"speed": 115200
22-
},
23-
"url": "http://www.wemos.cc/wiki/doku.php?id=en:d1_mini",
24-
"vendor": "WeMos"
25-
}
22+
},
23+
"url": "https://wiki.wemos.cc/products:d1:d1_mini",
24+
"vendor": "WEMOS"
25+
}

boards/d1_mini_lite.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"build": {
3+
"core": "esp8266",
4+
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DESP8266_WEMOS_D1MINI -DESP8266_WEMOS_D1MINILITE",
5+
"f_cpu": "80000000L",
6+
"f_flash": "40000000L",
7+
"flash_mode": "dout",
8+
"ldscript": "esp8266.flash.1m64.ld",
9+
"mcu": "esp8266",
10+
"variant": "d1_mini"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "WEMOS D1 mini Lite",
16+
"upload": {
17+
"maximum_ram_size": 81920,
18+
"maximum_size": 958448,
19+
"require_upload_port": true,
20+
"resetmethod": "nodemcu",
21+
"speed": 115200
22+
},
23+
"url": "https://wiki.wemos.cc/products:d1:d1_mini_lite",
24+
"vendor": "WEMOS"
25+
}

0 commit comments

Comments
 (0)