@@ -18,20 +18,22 @@ compiler.warning_flags.more=-Wall
18
18
compiler.warning_flags.all=-Wall -Wextra
19
19
20
20
build.lwip_lib=-llwip_gcc
21
+ build.lwip_include=lwip/include
21
22
build.lwip_flags=-DLWIP_OPEN_SRC
22
23
23
24
compiler.path={runtime.tools.xtensa-lx106-elf-gcc.path}/bin/
24
25
compiler.sdk.path={runtime.platform.path}/tools/sdk
25
26
compiler.libc.path={runtime.platform.path}/tools/sdk/libc/xtensa-lx106-elf
26
- compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I{compiler.sdk.path}/include" "-I{compiler.sdk.path}/lwip/include " "-I{compiler.libc.path}/include" "-I{build.path}/core"
27
+ compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I{compiler.sdk.path}/include" "-I{compiler.sdk.path}/{build.lwip_include} " "-I{compiler.libc.path}/include" "-I{build.path}/core"
27
28
28
29
compiler.c.cmd=xtensa-lx106-elf-gcc
29
30
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
30
31
31
32
compiler.S.cmd=xtensa-lx106-elf-gcc
32
33
compiler.S.flags=-c -g -x assembler-with-cpp -MMD -mlongcalls
33
34
34
- compiler.c.elf.flags=-g {compiler.warning_flags} -Os -nostdlib -Wl,--no-check-sections -u call_user_start -u _printf_float -u _scanf_float -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-L{compiler.libc.path}/lib" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read
35
+ # compiler.c.elf.flags=-g {compiler.warning_flags} -Os -nostdlib -Wl,--no-check-sections -u call_user_start -u _printf_float -u _scanf_float -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-L{compiler.libc.path}/lib" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read
36
+ 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" "-L{compiler.libc.path}/lib" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read
35
37
36
38
compiler.c.elf.cmd=xtensa-lx106-elf-gcc
37
39
compiler.c.elf.libs=-lhal -lphy -lpp -lnet80211 {build.lwip_lib} -lwpa -lcrypto -lmain -lwps -laxtls -lespnow -lsmartconfig -lairkiss -lmesh -lwpa2 -lstdc++ -lm -lc -lgcc
0 commit comments