Sync with the latest changes to Arduino platform.txt

This commit is contained in:
Ivan Kravets 2018-02-08 15:56:13 +02:00 committed by GitHub
parent c8596cb9bb
commit a153f6ad28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ env.Prepend(
CPPDEFINES=[
("ARDUINO", 10805),
"ARDUINO_ARCH_ESP32",
("ARDUINO_VARIANT", '\\"%s\\"' % env.BoardConfig().get("build.variant").replace('"', "")),
("ARDUINO_BOARD", '\\"%s\\"' % env.BoardConfig().get("name").replace('"', ""))
],
@ -174,7 +175,7 @@ libs.append(envsafe.BuildLibrary(
join(FRAMEWORK_DIR, "cores", env.BoardConfig().get("build.core"))
))
env.Append(LIBS=libs)
env.Prepend(LIBS=libs)
#
# Generate partition table