Sync with the latest changes to Arduino platform.txt
This commit is contained in:
parent
c8596cb9bb
commit
a153f6ad28
@ -38,6 +38,7 @@ env.Prepend(
|
|||||||
CPPDEFINES=[
|
CPPDEFINES=[
|
||||||
("ARDUINO", 10805),
|
("ARDUINO", 10805),
|
||||||
"ARDUINO_ARCH_ESP32",
|
"ARDUINO_ARCH_ESP32",
|
||||||
|
("ARDUINO_VARIANT", '\\"%s\\"' % env.BoardConfig().get("build.variant").replace('"', "")),
|
||||||
("ARDUINO_BOARD", '\\"%s\\"' % env.BoardConfig().get("name").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"))
|
join(FRAMEWORK_DIR, "cores", env.BoardConfig().get("build.core"))
|
||||||
))
|
))
|
||||||
|
|
||||||
env.Append(LIBS=libs)
|
env.Prepend(LIBS=libs)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generate partition table
|
# Generate partition table
|
||||||
|
Loading…
Reference in New Issue
Block a user