Move arduinoteensy specific math libraries to framework build script

This commit is contained in:
Valeriy Koval
2016-03-19 16:20:41 +02:00
parent ec2305bb10
commit b34b00eed2
2 changed files with 8 additions and 3 deletions
@@ -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=[