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=python
18
- runtime.tools.python.windows={runtime.platform.path}/tools/python/python.exe
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
@@ -83,8 +81,8 @@ compiler.elf2hex.extra_flags=
83
81
84
82
## generate file with git version number
85
83
## needs bash, git, and echo
86
- recipe.hooks.core.prebuild.1.pattern="{runtime.tools.python} " "{runtime.tools.signing}" --mode header --publickey "{build.source.path}/public.key" --out "{build.path}/core/Updater_Signing.h"
87
- recipe.hooks.core.prebuild.2.pattern="{runtime.tools.python} " "{runtime.tools.makecorever}" --build_path "{build.path}" --platform_path "{runtime.platform.path}" --version "unix-{version}"
84
+ recipe.hooks.core.prebuild.1.pattern="{runtime.tools.python.path}/python " "{runtime.tools.signing}" --mode header --publickey "{build.source.path}/public.key" --out "{build.path}/core/Updater_Signing.h"
85
+ recipe.hooks.core.prebuild.2.pattern="{runtime.tools.python.path}/python " "{runtime.tools.makecorever}" --build_path "{build.path}" --platform_path "{runtime.platform.path}" --version "unix-{version}"
88
86
89
87
## Build the app.ld linker file
90
88
recipe.hooks.linking.prelink.1.pattern="{compiler.path}{compiler.c.cmd}" -CC -E -P {build.vtable_flags} "{runtime.platform.path}/tools/sdk/ld/eagle.app.v6.common.ld.h" -o "{build.path}/local.eagle.app.v6.common.ld"
@@ -108,8 +106,8 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {build.exception_
108
106
recipe.objcopy.eep.pattern=
109
107
110
108
## Create hex
111
- recipe.objcopy.hex.1.pattern="{runtime.tools.python} " "{runtime.tools.elf2bin}" --eboot "{runtime.tools.eboot}" --app "{build.path}/{build.project_name}.elf" --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size {build.flash_size} --path "{runtime.tools.xtensa-lx106-elf-gcc.path}/bin" --out "{build.path}/{build.project_name}.bin"
112
- recipe.objcopy.hex.2.pattern="{runtime.tools.python} " "{runtime.tools.signing}" --mode sign --privatekey "{build.source.path}/private.key" --bin "{build.path}/{build.project_name}.bin" --out "{build.path}/{build.project_name}.bin.signed"
109
+ recipe.objcopy.hex.1.pattern="{runtime.tools.python.path}/python " "{runtime.tools.elf2bin}" --eboot "{runtime.tools.eboot}" --app "{build.path}/{build.project_name}.elf" --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size {build.flash_size} --path "{runtime.tools.xtensa-lx106-elf-gcc.path}/bin" --out "{build.path}/{build.project_name}.bin"
110
+ recipe.objcopy.hex.2.pattern="{runtime.tools.python.path}/python " "{runtime.tools.signing}" --mode sign --privatekey "{build.source.path}/private.key" --bin "{build.path}/{build.project_name}.bin" --out "{build.path}/{build.project_name}.bin.signed"
113
111
114
112
## Save hex
115
113
recipe.output.tmp_file={build.project_name}.bin
@@ -123,12 +121,14 @@ recipe.size.regex.data=^(?:\.data|\.rodata|\.bss)\s+([0-9]+).*
123
121
124
122
# ------------------------------
125
123
126
- # 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.platform.path}/tools/python/python.exe
129
124
tools.esptool.path=
130
- tools.esptool.network_cmd=python
131
- tools.esptool.network_cmd.windows={runtime.platform.path}/tools/python/python.exe
125
+ # Because the variable expansion doesn't allow one tool to find another, the following lines
126
+ # will point to "{runtime.platform.path}/tools/python/python" in GIT and
127
+ # "{runtime.tools.python.path}/python" for JSON board manager releases.
128
+ #tools.esptool.cmd={runtime.tools.python.path}/python
129
+ #tools.esptool.network_cmd={runtime.tools.python.path}/python
130
+ tools.esptool.cmd={runtime.platform.path}/tools/python/python
131
+ tools.esptool.network_cmd={runtime.platform.path}/tools/python/python
132
132
133
133
tools.esptool.upload.protocol=esp
134
134
tools.esptool.upload.params.verbose=--trace
0 commit comments