|
8 | 8 | name=ESP8266 Boards (2.6.0-dev)
|
9 | 9 | version=2.6.0-dev
|
10 | 10 |
|
| 11 | +# These will be removed by the packager script when doing a JSON release |
11 | 12 | runtime.tools.xtensa-lx106-elf-gcc.path={runtime.platform.path}/tools/xtensa-lx106-elf
|
| 13 | +runtime.tools.python.path={runtime.platform.path}/tools/python |
| 14 | + |
12 | 15 | runtime.tools.esptool.path={runtime.platform.path}/tools/esptool
|
13 | 16 | runtime.tools.signing={runtime.platform.path}/tools/signing.py
|
14 | 17 | runtime.tools.elf2bin={runtime.platform.path}/tools/elf2bin.py
|
15 | 18 | runtime.tools.makecorever={runtime.platform.path}/tools/makecorever.py
|
16 | 19 | runtime.tools.eboot={runtime.platform.path}/bootloaders/eboot/eboot.elf
|
17 |
| -runtime.tools.python.path=/usr/bin |
18 |
| -runtime.tools.python.windows.path={runtime.platform.path}/tools/python |
19 | 20 |
|
20 | 21 | compiler.warning_flags=-w
|
21 | 22 | compiler.warning_flags.none=-w
|
@@ -66,9 +67,6 @@ compiler.elf2hex.flags=
|
66 | 67 |
|
67 | 68 | compiler.size.cmd=xtensa-lx106-elf-size
|
68 | 69 |
|
69 |
| -compiler.esptool.cmd=esptool |
70 |
| -compiler.esptool.cmd.windows=esptool.exe |
71 |
| - |
72 | 70 | # This can be overriden in boards.txt
|
73 | 71 | build.extra_flags=-DESP8266
|
74 | 72 |
|
@@ -124,11 +122,14 @@ recipe.size.regex.data=^(?:\.data|\.rodata|\.bss)\s+([0-9]+).*
|
124 | 122 | # ------------------------------
|
125 | 123 |
|
126 | 124 | # Need to duplicate the python path because Arduino does not replace properly in this stage
|
127 |
| -tools.esptool.cmd=python |
128 |
| -tools.esptool.cmd.windows={runtime.tools.python.windows.path}/python.exe |
129 | 125 | tools.esptool.path=
|
130 |
| -tools.esptool.network_cmd=python |
131 |
| -tools.esptool.network_cmd.windows={runtime.tools.python.windows.path}/python.exe |
| 126 | +# Because the variable expansion doesn't allow one tool to find another, the following lines |
| 127 | +# will point to "{runtime.platform.path}/python/python" in GIT and "{runtime.tools.python.path}/python" |
| 128 | +# for JSON board manager releases. |
| 129 | +#tools.esptool.cmd={runtime.tools.python.path}/python |
| 130 | +#tools.esptool.network_cmd={runtime.tools.python.path}/python |
| 131 | +tools.esptool.cmd={runtime.platform.path}/python/python |
| 132 | +tools.esptool.network_cmd={runtime.platform.path}/python/python |
132 | 133 |
|
133 | 134 | tools.esptool.upload.protocol=esp
|
134 | 135 | tools.esptool.upload.params.verbose=--trace
|
|
0 commit comments