|
6 | 6 | # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
|
7 | 7 |
|
8 | 8 | name=ESP8266 Modules
|
9 |
| -version=1.6.4 |
| 9 | +version=2.0.0 |
10 | 10 |
|
11 | 11 | runtime.tools.xtensa-lx106-elf-gcc.path={runtime.platform.path}/tools/xtensa-lx106-elf
|
12 | 12 | runtime.tools.esptool.path={runtime.platform.path}/tools/esptool
|
13 | 13 |
|
| 14 | +compiler.warning_flags=-w |
| 15 | +compiler.warning_flags.none=-w |
| 16 | +compiler.warning_flags.default= |
| 17 | +compiler.warning_flags.more=-Wall |
| 18 | +compiler.warning_flags.all=-Wall -Wextra |
| 19 | + |
14 | 20 | compiler.path={runtime.tools.xtensa-lx106-elf-gcc.path}/bin/
|
15 | 21 | compiler.sdk.path={runtime.platform.path}/tools/sdk
|
16 | 22 | compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I{compiler.sdk.path}/include"
|
17 | 23 |
|
18 | 24 | compiler.c.cmd=xtensa-lx106-elf-gcc
|
19 |
| -compiler.c.flags=-c -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -std=gnu99 -ffunction-sections -fdata-sections |
| 25 | +compiler.c.flags=-c {compiler.warning_flags} -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -std=gnu99 -ffunction-sections -fdata-sections |
20 | 26 |
|
21 | 27 | compiler.S.cmd=xtensa-lx106-elf-gcc
|
22 | 28 | compiler.S.flags=-c -g -x assembler-with-cpp -MMD -mlongcalls
|
23 | 29 |
|
24 |
| -compiler.c.elf.flags=-g -Os -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy |
| 30 | +compiler.c.elf.flags=-g {compiler.warning_flags} -Os -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy |
25 | 31 |
|
26 | 32 | compiler.c.elf.cmd=xtensa-lx106-elf-gcc
|
27 | 33 | compiler.c.elf.libs=-lm -lgcc -lhal -lphy -lpp -lnet80211 -llwip -lwpa -lcrypto -lmain -lwps -laxtls -lsmartconfig -lmesh
|
28 | 34 |
|
29 | 35 | compiler.cpp.cmd=xtensa-lx106-elf-g++
|
30 |
| -compiler.cpp.flags=-c -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections |
| 36 | +compiler.cpp.flags=-c {compiler.warning_flags} -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections |
31 | 37 |
|
32 | 38 | compiler.as.cmd=xtensa-lx106-elf-as
|
33 | 39 |
|
|
0 commit comments