未验证 提交 a153f6ad 编写于 作者: I Ivan Kravets 提交者: GitHub

Sync with the latest changes to Arduino platform.txt

上级 c8596cb9
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册