forked from platformio/platformio-core
Update Teensy Arduino Framework to 1.26 // Resolve #434
This commit is contained in:
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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(
|
||||
|
@ -41,8 +41,7 @@ env.Replace(
|
||||
"-Wall",
|
||||
"-mthumb",
|
||||
"-mcpu=${BOARD_OPTIONS['build']['cpu']}",
|
||||
"-nostdlib",
|
||||
"-MMD" # output dependancy info
|
||||
"-nostdlib"
|
||||
],
|
||||
|
||||
CXXFLAGS=[
|
||||
|
@ -42,10 +42,7 @@ env.Replace(
|
||||
"-mmcu=$BOARD_MCU"
|
||||
],
|
||||
|
||||
CFLAGS=["-std=gnu11"],
|
||||
|
||||
CXXFLAGS=[
|
||||
"-std=gnu++11",
|
||||
"-fno-exceptions",
|
||||
"-fno-threadsafe-statics"
|
||||
],
|
||||
|
@ -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(
|
||||
|
@ -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"
|
||||
],
|
||||
|
||||
|
Reference in New Issue
Block a user