forked from platformio/platformio-core
Update Teensy Core to 1.21
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user