Switch to gcc-built LwIP library for espressif platform

This commit is contained in:
Valeriy Koval
2016-07-27 14:59:00 +03:00
parent 262b12524b
commit 98f8c6b25a

View File

@ -55,13 +55,14 @@ elif env.get("PLATFORM") == "timsp430":
) )
elif env.get("PLATFORM") == "espressif": elif env.get("PLATFORM") == "espressif":
env.Prepend( env.Prepend(
CPPDEFINES=["LWIP_OPEN_SRC"],
CPPPATH=[ CPPPATH=[
join("$PLATFORMFW_DIR", "tools", "sdk", "include"), join("$PLATFORMFW_DIR", "tools", "sdk", "include"),
join("$PLATFORMFW_DIR", "tools", "sdk", "lwip", "include") join("$PLATFORMFW_DIR", "tools", "sdk", "lwip", "include")
], ],
LIBPATH=[join("$PLATFORMFW_DIR", "tools", "sdk", "lib")], LIBPATH=[join("$PLATFORMFW_DIR", "tools", "sdk", "lib")],
LIBS=[ LIBS=[
"mesh", "wpa2", "smartconfig", "pp", "main", "wpa", "lwip", "mesh", "wpa2", "smartconfig", "pp", "main", "wpa", "lwip_gcc",
"net80211", "wps", "crypto", "phy", "hal", "axtls", "gcc", "net80211", "wps", "crypto", "phy", "hal", "axtls", "gcc",
"m", "stdc++" "m", "stdc++"
] ]