mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +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(
|
env.Append(
|
||||||
CPPDEFINES=[
|
CPPDEFINES=[
|
||||||
"printf=iprintf"
|
"printf=iprintf"
|
||||||
|
@ -272,7 +272,7 @@ libs.append(envsafe.BuildLibrary(
|
|||||||
join("$PLATFORMFW_DIR", "cores", "${BOARD_OPTIONS['build']['core']}")
|
join("$PLATFORMFW_DIR", "cores", "${BOARD_OPTIONS['build']['core']}")
|
||||||
))
|
))
|
||||||
|
|
||||||
if "due" in env.subst("$BOARD"):
|
if "sam3x8e" in BOARD_BUILDOPTS.get("mcu", None):
|
||||||
env.Append(
|
env.Append(
|
||||||
LIBPATH=[
|
LIBPATH=[
|
||||||
join("$PLATFORMFW_DIR", "variants",
|
join("$PLATFORMFW_DIR", "variants",
|
||||||
|
Reference in New Issue
Block a user