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
|
* Added generic targets to Eclipse IDE: Build, Clean, Upload, Upload SPIFFS
|
||||||
image, Upload using Programmer
|
image, Upload using Programmer
|
||||||
(`issue #427 <https://github.com/platformio/platformio/issues/427>`_)
|
(`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
|
* Fixed uploading of EEPROM data using ``uploadeep`` target for Atmel AVR
|
||||||
development platform
|
development platform
|
||||||
* Fixed project generator for CLion IDE
|
* Fixed project generator for CLion IDE
|
||||||
|
@@ -78,7 +78,7 @@
|
|||||||
"variant": "nodemcu"
|
"variant": "nodemcu"
|
||||||
},
|
},
|
||||||
"frameworks": ["arduino"],
|
"frameworks": ["arduino"],
|
||||||
"name": "NodeMCU 0.9 & 1.0",
|
"name": "NodeMCU 0.9 / 1.0",
|
||||||
"platform": "espressif",
|
"platform": "espressif",
|
||||||
"upload": {
|
"upload": {
|
||||||
"maximum_ram_size": 81920,
|
"maximum_ram_size": 81920,
|
||||||
|
@@ -63,7 +63,7 @@
|
|||||||
"cpu": "cortex-m4"
|
"cpu": "cortex-m4"
|
||||||
},
|
},
|
||||||
"frameworks": ["arduino", "mbed"],
|
"frameworks": ["arduino", "mbed"],
|
||||||
"name": "Teensy 3.1",
|
"name": "Teensy 3.1 / 3.2",
|
||||||
"platform": "teensy",
|
"platform": "teensy",
|
||||||
"upload": {
|
"upload": {
|
||||||
"maximum_ram_size": 65536,
|
"maximum_ram_size": 65536,
|
||||||
|
@@ -78,6 +78,16 @@ env = DefaultEnvironment()
|
|||||||
|
|
||||||
SConscript(env.subst(join("$PIOBUILDER_DIR", "scripts", "baseavr.py")))
|
SConscript(env.subst(join("$PIOBUILDER_DIR", "scripts", "baseavr.py")))
|
||||||
|
|
||||||
|
env.Append(
|
||||||
|
CFLAGS=[
|
||||||
|
"-std=gnu11"
|
||||||
|
],
|
||||||
|
|
||||||
|
CXXFLAGS=[
|
||||||
|
"-std=gnu++11"
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
if "digispark" in env.get(
|
if "digispark" in env.get(
|
||||||
"BOARD_OPTIONS", {}).get("build", {}).get("core", ""):
|
"BOARD_OPTIONS", {}).get("build", {}).get("core", ""):
|
||||||
env.Replace(
|
env.Replace(
|
||||||
|
@@ -41,8 +41,7 @@ env.Replace(
|
|||||||
"-Wall",
|
"-Wall",
|
||||||
"-mthumb",
|
"-mthumb",
|
||||||
"-mcpu=${BOARD_OPTIONS['build']['cpu']}",
|
"-mcpu=${BOARD_OPTIONS['build']['cpu']}",
|
||||||
"-nostdlib",
|
"-nostdlib"
|
||||||
"-MMD" # output dependancy info
|
|
||||||
],
|
],
|
||||||
|
|
||||||
CXXFLAGS=[
|
CXXFLAGS=[
|
||||||
|
@@ -42,10 +42,7 @@ env.Replace(
|
|||||||
"-mmcu=$BOARD_MCU"
|
"-mmcu=$BOARD_MCU"
|
||||||
],
|
],
|
||||||
|
|
||||||
CFLAGS=["-std=gnu11"],
|
|
||||||
|
|
||||||
CXXFLAGS=[
|
CXXFLAGS=[
|
||||||
"-std=gnu++11",
|
|
||||||
"-fno-exceptions",
|
"-fno-exceptions",
|
||||||
"-fno-threadsafe-statics"
|
"-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":
|
elif env.get("BOARD_OPTIONS", {}).get("build", {}).get("core") == "teensy3":
|
||||||
SConscript(env.subst(join("$PIOBUILDER_DIR", "scripts", "basearm.py")))
|
SConscript(env.subst(join("$PIOBUILDER_DIR", "scripts", "basearm.py")))
|
||||||
env.Append(
|
env.Append(
|
||||||
LINKFLAGS=["-Wl,--defsym=__rtc_localtime=$UNIX_TIME"]
|
LINKFLAGS=[
|
||||||
|
"-Wl,--defsym=__rtc_localtime=$UNIX_TIME"
|
||||||
|
],
|
||||||
|
CPPFLAGS=[
|
||||||
|
"-fsingle-precision-constant"
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
env.Append(
|
env.Append(
|
||||||
|
@@ -44,7 +44,6 @@ env.Replace(
|
|||||||
# "-Wall", # show warnings
|
# "-Wall", # show warnings
|
||||||
"-ffunction-sections", # place each function in its own section
|
"-ffunction-sections", # place each function in its own section
|
||||||
"-fdata-sections",
|
"-fdata-sections",
|
||||||
"-MMD", # output dependancy info
|
|
||||||
"-mmcu=$BOARD_MCU"
|
"-mmcu=$BOARD_MCU"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user