Skip to content

Commit

Permalink
Merge branch 'release/v3.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Jun 12, 2018
2 parents de9b127 + 45a8715 commit fa72080
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion builder/frameworks/mbed
Submodule mbed updated 2 files
+7 −7 .travis.yml
+7 −9 mbed.py
10 changes: 9 additions & 1 deletion builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@

LIBS=["m"],

SIZEPROGREGEXP=r"^(?:\.text|\.data|\.rodata|\.text.align|\.ARM.exidx)\s+(\d+).*",
SIZEDATAREGEXP=r"^(?:\.data|\.bss|\.noinit)\s+(\d+).*",
SIZECHECKCMD="$SIZETOOL -A -d $SOURCES",

PROGSUFFIX=".elf"
)

Expand Down Expand Up @@ -265,6 +269,7 @@ def _jlink_cmd_script(env, source):

elif upload_protocol == "teensy-cli":
env.Replace(
REBOOTER="teensy_reboot",
UPLOADER="teensy_loader_cli",
UPLOADERFLAGS=[
"-mmcu=$BOARD_MCU",
Expand All @@ -274,7 +279,10 @@ def _jlink_cmd_script(env, source):
],
UPLOADCMD="$UPLOADER $UPLOADERFLAGS $SOURCES"
)
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]
upload_actions = [
env.VerboseAction("$REBOOTER -s", "Rebooting..."),
env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")
]

elif upload_protocol == "teensy-gui":
env.Replace(
Expand Down
2 changes: 1 addition & 1 deletion examples/arduino-blink/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ platform = teensy
framework = arduino
board = teensy20

[env:teensy20pp]
[env:teensy 20pp]
platform = teensy
framework = arduino
board = teensy20pp
Expand Down
2 changes: 1 addition & 1 deletion examples/mbed-events/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html

[env:teensy31]
[env:teensy31 events]
platform = teensy
framework = mbed
board = teensy31
Expand Down
4 changes: 2 additions & 2 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"type": "git",
"url": "https://github.com/platformio/platform-teensy.git"
},
"version": "3.2.1",
"version": "3.3.0",
"packageRepositories": [
"https://dl.bintray.com/platformio/dl-packages/manifest.json",
"http://dl.platformio.org/packages/manifest.json"
Expand Down Expand Up @@ -46,7 +46,7 @@
"framework-mbed": {
"type": "framework",
"optional": true,
"version": "~4.50802.0"
"version": "~4.50806.0"
},
"tool-teensy": {
"type": "uploader",
Expand Down

0 comments on commit fa72080

Please sign in to comment.