Fix build flags for digix board

This commit is contained in:
Valeriy Koval
2016-03-28 13:23:20 +03:00
parent 5be9b0e120
commit 61256c53fe
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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",