8000 platform specific tools path · w01fc/esp8266-Arduino@af1c7c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit af1c7c6

Browse files
committed
platform specific tools path
1 parent 47a1582 commit af1c7c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

esp8266com/esp8266/platform.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
name=Arduino ESP8266
99
version=1.5.8
1010

11-
compiler.tools.path={runtime.ide.path}/hardware/tools/esp8266/
11+
compiler.tools.path={runtime.hardware.path}/esp8266/tools/{runtime.os}/
1212
compiler.path={compiler.tools.path}xtensa-lx106-elf/bin/
13-
compiler.sdk.path={compiler.tools.path}sdk/
13+
compiler.sdk.path={runtime.hardware.path}/esp8266/sdk/
1414

1515
compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH "-I{compiler.sdk.path}/include"
1616

@@ -23,7 +23,7 @@ compiler.c.elf.cmd=xtensa-lx106-elf-gcc
2323
compiler.c.elf.libs=-lc -lgcc -lhal -lphy -lnet80211 -llwip -lwpa -lmain -lpp
2424

2525
compiler.cpp.cmd=xtensa-lx106-elf-g++
26-
compiler.cpp.flags=-c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD
26+
compiler.cpp.flags=-c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD
2727

2828
compiler.as.cmd=xtensa-lx106-elf-as
2929

@@ -63,7 +63,7 @@ recipe.S.o.pattern="{compiler.path}{compiler.as.cmd}" -o "{object_file}" "{sour
6363
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}"
6464

6565
## Combine gc-sections, archives, and objects
66-
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/{archive_file}" {compiler.c.elf.libs} -Wl,--end-group "-L{build.path}"
66+
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/{archive_file}" {compiler.c.elf.libs} -Wl,--end-group "-L{build.path}"
6767

6868
## Create eeprom
6969
recipe.objcopy.eep.pattern=
@@ -86,6 +86,6 @@ tools.esptool.cmd.windows=esptool.exe
8686
tools.esptool.path={runtime.ide.path}/hardware/tools/esp8266
8787

8888
tools.esptool.program.params.verbose=-vv
89-
tools.esptool.program.params.quiet=
89+
tools.esptool.program.params.quiet=
9090
tools.esptool.program.pattern="{path}/{cmd}" {program.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp {serial.port} -ca 0x00000 -cf "{build.path}/{build.project_name}_00000.bin" -ca 0x40000 -cf "{build.path}/{build.project_name}_40000.bin"
9191

0 commit comments

Comments
 (0)
0