From eb3282c68fe161e0ff77acb54e1e23d790d93e01 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 2 Jun 2018 15:57:56 +0300 Subject: [PATCH 1/7] Declare command for checking memory usage --- builder/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builder/main.py b/builder/main.py index c2f20fbd..76898ac7 100644 --- a/builder/main.py +++ b/builder/main.py @@ -104,6 +104,9 @@ def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621 LIBS=["c", "gcc", "m"], + SIZEPROGREGEXP=r"^(?:\.text|\.data|\.rodata|\.text.align|\.ARM.exidx)\s+(\d+).*", + SIZEDATAREGEXP=r"^(?:\.data|\.bss|\.noinit)\s+(\d+).*", + SIZECHECKCMD="$SIZETOOL -A -d $SOURCES", SIZEPRINTCMD='$SIZETOOL -B -d $SOURCES', PROGSUFFIX=".elf" From 7d56ab3d31851dd5b859cffd76a706882d9b1cee Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 8 Jun 2018 19:53:44 +0300 Subject: [PATCH 2/7] Test project with space --- examples/arduino-blink/platformio.ini | 2 +- examples/mbed-blink/platformio.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/arduino-blink/platformio.ini b/examples/arduino-blink/platformio.ini index d9abed19..4dbe70b7 100644 --- a/examples/arduino-blink/platformio.ini +++ b/examples/arduino-blink/platformio.ini @@ -57,7 +57,7 @@ platform = atmelsam framework = arduino board = sodaq_autonomo -[env:sparkfun_samd21_mini_usb] +[env:sparkfun samd21 mini usb] platform = atmelsam framework = arduino board = sparkfun_samd21_mini_usb diff --git a/examples/mbed-blink/platformio.ini b/examples/mbed-blink/platformio.ini index 89056d5f..6a9843c5 100644 --- a/examples/mbed-blink/platformio.ini +++ b/examples/mbed-blink/platformio.ini @@ -17,7 +17,7 @@ platform = atmelsam framework = mbed board = saml21_xpro_b -[env:samr21_xpro] +[env:samr21 xpro] platform = atmelsam framework = mbed board = samr21_xpro From a3867e421eb3c2e963b2f83d50ae8e46b69b9ae0 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 9 Jun 2018 00:30:14 +0300 Subject: [PATCH 3/7] Suppress mbed warnings caused by GCC 7 --- builder/frameworks/mbed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/frameworks/mbed b/builder/frameworks/mbed index f8391f1c..06948af1 160000 --- a/builder/frameworks/mbed +++ b/builder/frameworks/mbed @@ -1 +1 @@ -Subproject commit f8391f1cdc5d7d01800f8d6e2e5993c56b7f03a3 +Subproject commit 06948af12a0409a33b001a97bd44a9fc200729d1 From 69c0fe427910a46451cd0573e6eeee01d9a05245 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 9 Jun 2018 01:13:09 +0300 Subject: [PATCH 4/7] Fix issue when path contains space while generating LD script --- builder/frameworks/mbed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/frameworks/mbed b/builder/frameworks/mbed index 06948af1..c3ba5666 160000 --- a/builder/frameworks/mbed +++ b/builder/frameworks/mbed @@ -1 +1 @@ -Subproject commit 06948af12a0409a33b001a97bd44a9fc200729d1 +Subproject commit c3ba566607143496e3056b031273bd5108396938 From 0c625dcc623067dc8d61e29297781484986afffa Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Sun, 10 Jun 2018 23:31:22 +0300 Subject: [PATCH 5/7] Update build script for mbed framework --- builder/frameworks/mbed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/frameworks/mbed b/builder/frameworks/mbed index c3ba5666..499b68d1 160000 --- a/builder/frameworks/mbed +++ b/builder/frameworks/mbed @@ -1 +1 @@ -Subproject commit c3ba566607143496e3056b031273bd5108396938 +Subproject commit 499b68d1f4350e60171984dbc0ec4ece43519ca4 From 9b517330d8c81cb40c47ea03659fd6cbebd56d34 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 15 Jun 2018 18:00:02 +0300 Subject: [PATCH 6/7] Fix LD script generator when PIO Core path contains a space --- builder/frameworks/mbed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/frameworks/mbed b/builder/frameworks/mbed index 499b68d1..7d771625 160000 --- a/builder/frameworks/mbed +++ b/builder/frameworks/mbed @@ -1 +1 @@ -Subproject commit 499b68d1f4350e60171984dbc0ec4ece43519ca4 +Subproject commit 7d7716250f5e15bffb24fea89ef48daba7d5b3f8 From 96109a96117a0631acf8aefc96caab9f16c40a59 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 15 Jun 2018 18:01:28 +0300 Subject: [PATCH 7/7] Bump version to 3.1.2 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index d27c1215..4fa22a4c 100644 --- a/platform.json +++ b/platform.json @@ -12,7 +12,7 @@ "type": "git", "url": "https://github.com/platformio/platform-atmelsam.git" }, - "version": "3.1.1", + "version": "3.1.2", "packageRepositories": [ "https://dl.bintray.com/platformio/dl-packages/manifest.json", "http://dl.platformio.org/packages/manifest.json",