From cf7cd25a31fbae6fb3acb0d7946b74c6bea0f2d4 Mon Sep 17 00:00:00 2001 From: Arturo Rinaldi Date: Fri, 18 Dec 2020 11:44:38 +0100 Subject: [PATCH 1/4] adding missing {build.arancino_extra_flags} entry for use of Free_RTOS --- platform.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform.txt b/platform.txt index a50a960c..c07fe09a 100644 --- a/platform.txt +++ b/platform.txt @@ -87,13 +87,13 @@ build.usb_manufacturer="Unknown" # ---------------- ## Compile c files -recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {compiler.arm.cmsis.c.flags} {includes} "{source_file}" -o "{object_file}" +recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {build.arancino_extra_flags} {compiler.arm.cmsis.c.flags} {includes} "{source_file}" -o "{object_file}" ## Compile c++ files -recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {compiler.arm.cmsis.c.flags} {includes} "{source_file}" -o "{object_file}" +recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {build.arancino_extra_flags} {compiler.arm.cmsis.c.flags} {includes} "{source_file}" -o "{object_file}" ## Compile S files -recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {compiler.arm.cmsis.c.flags} {includes} "{source_file}" -o "{object_file}" +recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {build.arancino_extra_flags} {compiler.arm.cmsis.c.flags} {includes} "{source_file}" -o "{object_file}" ## Create archives # archive_file_path is needed for backwards compatibility with IDE 1.6.5 or older, IDE 1.6.6 or newer overrides this value From 41b7f898542f3f2d6961fc7440c5d46ef8b52b2b Mon Sep 17 00:00:00 2001 From: Arturo Rinaldi Date: Fri, 18 Dec 2020 11:45:29 +0100 Subject: [PATCH 2/4] dropping {build.memory_wrapping_flags} since are not anymore supported in the latest release --- boards.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/boards.txt b/boards.txt index 7c138d63..b2a272c0 100644 --- a/boards.txt +++ b/boards.txt @@ -33,9 +33,7 @@ arancino_mignon.menu.UploadTool.bossac.upload.tool=bossac arancino_mignon.menu.freertos.no=No arancino_mignon.menu.freertos.yes=Yes -arancino_mignon.menu.freertos.no.build.memory_wrapping_flags= arancino_mignon.menu.freertos.no.build.arancino_extra_flags= -arancino_mignon.menu.freertos.yes.build.memory_wrapping_flags=-Wl,--wrap=malloc -Wl,--wrap=free -Wl,--wrap=calloc -Wl,--wrap=realloc arancino_mignon.menu.freertos.yes.build.arancino_extra_flags=-DUSEFREERTOS arancino_mignon.upload.protocol=sam-ba @@ -67,9 +65,7 @@ arancino.pid.0=0xECDA arancino.menu.freertos.no=No arancino.menu.freertos.yes=Yes -arancino.menu.freertos.no.build.memory_wrapping_flags= arancino.menu.freertos.no.build.arancino_extra_flags= -arancino.menu.freertos.yes.build.memory_wrapping_flags=-Wl,--wrap=malloc -Wl,--wrap=free -Wl,--wrap=calloc -Wl,--wrap=realloc arancino.menu.freertos.yes.build.arancino_extra_flags=-DUSEFREERTOS arancino.upload.tool=ArancinoOTA From 267badc81d47d4714b49a08d37c1e34eba478a56 Mon Sep 17 00:00:00 2001 From: Arturo Rinaldi Date: Thu, 7 Jan 2021 11:21:53 +0100 Subject: [PATCH 3/4] adding package.json for platformIO --- package.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 00000000..78ba9d5f --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "name": "framework-arduino-samd-arancino", + "version": "1.2.1", + "description": "The official SmartME Wiring-based Framework for Microchip SAM D microcontrollers", + "keywords": [ + "framework", + "arancino", + "smartme", + "microchip", + "samd" + ], + "homepage": "https://arancino.cc/docs/", + "license": "LGPL-2.1-or-later", + "repository": { + "type": "git", + "url": "https://git.smartme.io/smartme.io/arancino/ide/smartmeio-arancino-platform" + } +} From f7229ac468accbd7b07beee047c69738911b0787 Mon Sep 17 00:00:00 2001 From: Arturo Rinaldi Date: Thu, 14 Jan 2021 17:44:27 +0100 Subject: [PATCH 4/4] update changelog --- CHANGELOG | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 4d718cea..246e687f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +#### v 1.2.1 - 2021.01.14 + +* Dropping `build.memory_wrapping_flags` entry which is not anymore supported by FreeRTOS_samd library + #### v 1.2.0 - 2020.10.13 * Based on official Arduino samd core v1.8.9.