From cda49ae4c0f4aaa16f53227a909334ecb4093a49 Mon Sep 17 00:00:00 2001 From: valeros Date: Wed, 27 Mar 2019 23:51:03 +0200 Subject: [PATCH 1/8] Update mbed framework to 5.12.0 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index d0ea780..24d3e2b 100644 --- a/platform.json +++ b/platform.json @@ -46,7 +46,7 @@ "framework-mbed": { "type": "framework", "optional": true, - "version": "~5.51105.190304" + "version": "~5.51200.190327" }, "tool-teensy": { "type": "uploader", From 040fef9969e7b0bdf63db10cca309ba6d5470f37 Mon Sep 17 00:00:00 2001 From: valeros Date: Mon, 15 Apr 2019 23:04:53 +0300 Subject: [PATCH 2/8] Update mbed framework to 5.12.1 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index 24d3e2b..4728ae3 100644 --- a/platform.json +++ b/platform.json @@ -46,7 +46,7 @@ "framework-mbed": { "type": "framework", "optional": true, - "version": "~5.51200.190327" + "version": "~5.51201.190414" }, "tool-teensy": { "type": "uploader", From 7fa4686f2064ef62ff133a057bd4c54216aafa84 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 18 Apr 2019 15:00:12 +0300 Subject: [PATCH 3/8] Fix file IO for Python 3 --- builder/frameworks/arduino.py | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/frameworks/arduino.py b/builder/frameworks/arduino.py index f981924..382e5d4 100644 --- a/builder/frameworks/arduino.py +++ b/builder/frameworks/arduino.py @@ -22,6 +22,7 @@ http://arduino.cc/en/Reference/HomePage """ +from io import open from os import listdir from os.path import isdir, isfile, join From e28254b46b1ba924602634f36e6dbfffb419d0e2 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 18 Apr 2019 15:17:39 +0300 Subject: [PATCH 4/8] Fix file IO for Python 3 --- builder/frameworks/arduino.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/frameworks/arduino.py b/builder/frameworks/arduino.py index 382e5d4..44fe6fd 100644 --- a/builder/frameworks/arduino.py +++ b/builder/frameworks/arduino.py @@ -271,14 +271,14 @@ continue content = None content_changed = False - with open(file_path) as fp: + with open(file_path, encoding="latin-1") as fp: content = fp.read() if '#include "../' in content: content_changed = True content = content.replace('#include "../', '#include "') if not content_changed: continue - with open(file_path, "w") as fp: + with open(file_path, "w", encoding="latin-1") as fp: fp.write(content) else: env.Prepend(LIBPATH=[join(FRAMEWORK_DIR, "cores", "teensy3")]) From e9c6bf610147b4baa24e3aaf2829975382a2a827 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 18 Apr 2019 16:06:12 +0300 Subject: [PATCH 5/8] Use Python 3 for Appveyor CI --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index c9db941..23bf2da 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,8 +12,8 @@ environment: install: - cmd: git submodule update --init --recursive - - cmd: SET PATH=%PATH%;C:\Python27\Scripts - - cmd: pip install -U https://github.com/platformio/platformio/archive/develop.zip + - cmd: SET PATH=%PATH%;C:\Python36\Scripts + - cmd: pip3 install -U https://github.com/platformio/platformio/archive/develop.zip - cmd: platformio platform install file://. test_script: From 771c6d286c4100b8f0a4bb3c9a026c2515d711f7 Mon Sep 17 00:00:00 2001 From: valeros Date: Sun, 5 May 2019 22:24:07 +0300 Subject: [PATCH 6/8] Update mbed framework to 5.12.2 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index d6ce494..6d79dca 100644 --- a/platform.json +++ b/platform.json @@ -46,7 +46,7 @@ "framework-mbed": { "type": "framework", "optional": true, - "version": "~5.51201.190414" + "version": "~5.51202.190504" }, "tool-teensy": { "type": "uploader", From abd57a0dd0b3a126e2d6233d8b94797fb6d7ae5e Mon Sep 17 00:00:00 2001 From: valeros Date: Thu, 9 May 2019 21:18:06 +0300 Subject: [PATCH 7/8] Update mbed framework to 5.12.3 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index 6d79dca..f6c5650 100644 --- a/platform.json +++ b/platform.json @@ -46,7 +46,7 @@ "framework-mbed": { "type": "framework", "optional": true, - "version": "~5.51202.190504" + "version": "~5.51203.190509" }, "tool-teensy": { "type": "uploader", From dbb96d5426104f1af71d8244f5976d814fc32100 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 10 May 2019 18:07:15 +0300 Subject: [PATCH 8/8] Bump version to 4.3.0 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index f6c5650..2211c26 100644 --- a/platform.json +++ b/platform.json @@ -12,7 +12,7 @@ "type": "git", "url": "https://github.com/platformio/platform-teensy.git" }, - "version": "4.2.1", + "version": "4.3.0", "packageRepositories": [ "https://dl.bintray.com/platformio/dl-packages/manifest.json", "http://dl.platformio.org/packages/manifest.json"