Update espressif platform according to the latest framework 2.2.0 // issue #627

This commit is contained in:
Valeriy Koval
2016-04-26 13:44:10 +03:00
parent 262307608c
commit 7c760da618
2 changed files with 14 additions and 5 deletions
@@ -55,11 +55,20 @@ elif env.get("PLATFORM") == "timsp430":
)
elif env.get("PLATFORM") == "espressif":
env.Prepend(
CPPPATH=[join("$PLATFORMFW_DIR", "tools", "sdk", "include")],
CPPPATH=[
join("$PLATFORMFW_DIR", "tools", "sdk", "include"),
join("$PLATFORMFW_DIR", "tools", "sdk", "lwip", "include")
],
LIBPATH=[join("$PLATFORMFW_DIR", "tools", "sdk", "lib")],
LIBS=["mesh", "wpa2", "smartconfig", "pp", "main", "wpa", "lwip",
"net80211", "wps", "crypto", "phy", "hal", "axtls", "gcc", "m"]
)
env.VariantDirWrap(
join("$BUILD_DIR", "generic"),
join("$PIOPACKAGES_DIR", "framework-arduinoespressif",
"variants", "generic")
)
elif env.get("PLATFORM") == "nordicnrf51":
PLATFORMFW_DIR = join(
"$PIOPACKAGES_DIR",