Move arduinoteensy specific math libraries to framework build script

This commit is contained in:
Valeriy Koval committed 2016-03-19 16:20:41 +02:00
1 parent ec2305bb10
commit b34b00eed2
2 files changed
+8 -3

No files matched your search

@@ -251,6 +251,11 @@ if "variant" in BOARD_BUILDOPTS:
envsafe = env.Clone()
if BOARD_BUILDOPTS.get("core", None) == "teensy3":
libs.append("arm_cortex%sl_math" % (
"M4" if BOARD_BUILDOPTS.get("cpu") == "cortex-m4" else "M0")
)
if "zero" in env.subst("$BOARD"):
envsafe.Append(
CFLAGS=[