Update Teensy Core to 1.21

This commit is contained in:
Valeriy Koval
2015-02-24 18:15:45 +02:00
parent fedb7527f4
commit 9562e2456b
6 changed files with 103 additions and 32 deletions

View File

@@ -52,7 +52,7 @@ if "usb_product" in BOARD_BUILDOPTS:
if env.get("PLATFORM") == "teensy":
ARDUINO_USBDEFINES += [
"ARDUINO=106",
"ARDUINO=10600",
"TEENSYDUINO=%d" % ARDUINO_VERSION
]
else:

View File

@@ -19,14 +19,13 @@ elif env.get("BOARD_OPTIONS", {}).get("build", {}).get("core") == "teensy3":
env.Append(
CPPDEFINES=[
"USB_PID=null",
"USB_VID=null",
"USB_SERIAL",
"LAYOUT_US_ENGLISH"
],
CXXFLAGS=[
"-std=gnu++0x"
"-std=gnu++0x",
"-felide-constructors"
]
)