Skip to content

Commit 6ef78ab

Browse files
committed
Rename tool-genbin to tool-genbin-esp8266
1 parent 7544456 commit 6ef78ab

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

boards/d1_mini_pro_ota.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"ldscript": "eagle.flash.16m14m.ld"
5+
},
6+
"core": "esp8266",
7+
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_WEMOS_D1MINIPRO",
8+
"f_cpu": "80000000L",
9+
"f_flash": "40000000L",
10+
"flash_mode": "dio",
11+
"mcu": "esp8266",
12+
"partitions": "partitions_two_ota.csv",
13+
"variant": "d1_mini"
14+
},
15+
"connectivity": [
16+
"wifi"
17+
],
18+
"frameworks": [
19+
"arduino",
20+
"esp8266-rtos-sdk",
21+
"esp8266-nonos-sdk"
22+
],
23+
"name": "WeMos D1 mini Pro",
24+
"upload": {
25+
"maximum_ram_size": 81920,
26+
"maximum_size": 16777216,
27+
"require_upload_port": true,
28+
"resetmethod": "nodemcu",
29+
"speed": 115200
30+
},
31+
"url": "https://wiki.wemos.cc/products:d1:d1_mini",
32+
"vendor": "WEMOS"
33+
}

builder/frameworks/esp8266-nonos-sdk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
BUILDERS=dict(
176176
ElfToBin=Builder(
177177
action=env.VerboseAction(" ".join([
178-
'"%s"' % env.subst("$PYTHONEXE"), join(platform.get_package_dir("tool-genbin"), "genbin.py"),
178+
'"%s"' % env.subst("$PYTHONEXE"), join(platform.get_package_dir("tool-genbin-esp8266"), "genbin.py"),
179179
"12", # create firmware.bin.user1.bin and firmware.bin.user2.bin
180180
"$BOARD_FLASH_MODE", "${__get_board_f_flash(__env__)}m", "$FLASH_SIZE_STR",
181181
"$SOURCE", "${TARGET}.user1.bin", "${TARGET}.user2.bin"
@@ -190,7 +190,7 @@
190190
BUILDERS=dict(
191191
ElfToBin=Builder(
192192
action=env.VerboseAction(" ".join([
193-
'"%s"' % env.subst("$PYTHONEXE"), join(platform.get_package_dir("tool-genbin"), "genbin.py"),
193+
'"%s"' % env.subst("$PYTHONEXE"), join(platform.get_package_dir("tool-genbin-esp8266"), "genbin.py"),
194194
"0", # create firmware.bin and firmware.bin.irom0text.bin
195195
"$BOARD_FLASH_MODE", "${__get_board_f_flash(__env__)}m", "$FLASH_SIZE_STR",
196196
"$SOURCE", "${TARGET}", "${TARGET}.irom0text.bin"

platform.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"owner": "platformio",
6464
"version": "~3.0.5"
6565
},
66-
"tool-genbin": {
66+
"tool-genbin-esp8266": {
6767
"type": "uploader",
6868
"owner": "platformio",
6969
"version": "~1.0.0"

0 commit comments

Comments
 (0)