mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix build flags for digix board
This commit is contained in:
@ -102,7 +102,7 @@ env.Append(
|
||||
)
|
||||
|
||||
|
||||
if "due" in env.subst("$BOARD"):
|
||||
if "sam3x8e" in env.get("BOARD_OPTIONS", {}).get("build", {}).get("mcu", None):
|
||||
env.Append(
|
||||
CPPDEFINES=[
|
||||
"printf=iprintf"
|
||||
|
@ -272,7 +272,7 @@ libs.append(envsafe.BuildLibrary(
|
||||
join("$PLATFORMFW_DIR", "cores", "${BOARD_OPTIONS['build']['core']}")
|
||||
))
|
||||
|
||||
if "due" in env.subst("$BOARD"):
|
||||
if "sam3x8e" in BOARD_BUILDOPTS.get("mcu", None):
|
||||
env.Append(
|
||||
LIBPATH=[
|
||||
join("$PLATFORMFW_DIR", "variants",
|
||||
|
Reference in New Issue
Block a user