Update Teensy Arduino Framework to 1.26 // Resolve #434

This commit is contained in:
Ivan Kravets
2016-01-05 00:07:28 +02:00
parent 0751a2cef9
commit 7a7fa845fe
8 changed files with 21 additions and 9 deletions

View File

@ -10,6 +10,8 @@ PlatformIO 2.0
* Added generic targets to Eclipse IDE: Build, Clean, Upload, Upload SPIFFS
image, Upload using Programmer
(`issue #427 <https://github.com/platformio/platformio/issues/427>`_)
* Updated Teensy Arduino Framework to 1.26
(`issue #434 <https://github.com/platformio/platformio/issues/434>`_)
* Fixed uploading of EEPROM data using ``uploadeep`` target for Atmel AVR
development platform
* Fixed project generator for CLion IDE

View File

@ -78,7 +78,7 @@
"variant": "nodemcu"
},
"frameworks": ["arduino"],
"name": "NodeMCU 0.9 & 1.0",
"name": "NodeMCU 0.9 / 1.0",
"platform": "espressif",
"upload": {
"maximum_ram_size": 81920,

View File

@ -63,7 +63,7 @@
"cpu": "cortex-m4"
},
"frameworks": ["arduino", "mbed"],
"name": "Teensy 3.1",
"name": "Teensy 3.1 / 3.2",
"platform": "teensy",
"upload": {
"maximum_ram_size": 65536,

View File

@ -78,6 +78,16 @@ env = DefaultEnvironment()
SConscript(env.subst(join("$PIOBUILDER_DIR", "scripts", "baseavr.py")))
env.Append(
CFLAGS=[
"-std=gnu11"
],
CXXFLAGS=[
"-std=gnu++11"
]
)
if "digispark" in env.get(
"BOARD_OPTIONS", {}).get("build", {}).get("core", ""):
env.Replace(

View File

@ -41,8 +41,7 @@ env.Replace(
"-Wall",
"-mthumb",
"-mcpu=${BOARD_OPTIONS['build']['cpu']}",
"-nostdlib",
"-MMD" # output dependancy info
"-nostdlib"
],
CXXFLAGS=[

View File

@ -42,10 +42,7 @@ env.Replace(
"-mmcu=$BOARD_MCU"
],
CFLAGS=["-std=gnu11"],
CXXFLAGS=[
"-std=gnu++11",
"-fno-exceptions",
"-fno-threadsafe-statics"
],

View File

@ -28,7 +28,12 @@ if env.get("BOARD_OPTIONS", {}).get("build", {}).get("core") == "teensy":
elif env.get("BOARD_OPTIONS", {}).get("build", {}).get("core") == "teensy3":
SConscript(env.subst(join("$PIOBUILDER_DIR", "scripts", "basearm.py")))
env.Append(
LINKFLAGS=["-Wl,--defsym=__rtc_localtime=$UNIX_TIME"]
LINKFLAGS=[
"-Wl,--defsym=__rtc_localtime=$UNIX_TIME"
],
CPPFLAGS=[
"-fsingle-precision-constant"
]
)
env.Append(

View File

@ -44,7 +44,6 @@ env.Replace(
# "-Wall", # show warnings
"-ffunction-sections", # place each function in its own section
"-fdata-sections",
"-MMD", # output dependancy info
"-mmcu=$BOARD_MCU"
],