From 3027f2fe164dddfc77f9cf1a37da6de60b94fbae Mon Sep 17 00:00:00 2001 From: jaenrig-ifx Date: Tue, 29 Apr 2025 13:32:07 +0200 Subject: [PATCH 1/4] platform.txt: Added recipe pattern default Linux and MacOS. Signed-off-by: jaenrig-ifx --- platform.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform.txt b/platform.txt index 53ddd35..a1cedfc 100644 --- a/platform.txt +++ b/platform.txt @@ -68,7 +68,7 @@ compiler.elf2hex.extra_flags= hooks_prebuild_args=add-abs-paths {runtime.platform.path} {build.path} {build.variant} -recipe.hooks.prebuild.1.pattern.linux=bash {runtime.platform.path}/tools/mtb-lib.sh {hooks_prebuild_args} +recipe.hooks.prebuild.1.pattern=bash {runtime.platform.path}/tools/mtb-lib.sh {hooks_prebuild_args} recipe.hooks.prebuild.1.pattern.windows={runtime.platform.path}/tools/mtb-lib.cmd {hooks_prebuild_args} compiler.flags.from_file=@{runtime.platform.path}/variants/{build.variant}/mtb-lib-cxx-flags.txt @@ -121,5 +121,5 @@ tools.openocd.upload.params.verbose=-v tools.openocd.upload.params.quiet= tools.openocd.upload.params.args=upload {runtime.tools.openocd.path} {runtime.platform.path} {build.path} {build.variant} {upload.port.properties.serialNumber} {upload.target.cfg} {build.project_name} {upload.verbose} -tools.openocd.upload.pattern.linux=bash {runtime.platform.path}/tools/upload.sh {upload.params.args} +tools.openocd.upload.pattern=bash {runtime.platform.path}/tools/upload.sh {upload.params.args} tools.openocd.upload.pattern.windows={runtime.platform.path}/tools/upload.cmd {upload.params.args} \ No newline at end of file From 7c5689d2aa39199def9524b67de3c4e4d309ed14 Mon Sep 17 00:00:00 2001 From: jaenrig-ifx Date: Tue, 29 Apr 2025 13:55:26 +0200 Subject: [PATCH 2/4] package/package_psoc6_index.template.json: Added macos gcc tool. Signed-off-by: jaenrig-ifx --- package/package_psoc6_index.template.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/package_psoc6_index.template.json b/package/package_psoc6_index.template.json index c0043f0..706c97e 100644 --- a/package/package_psoc6_index.template.json +++ b/package/package_psoc6_index.template.json @@ -51,10 +51,17 @@ }, { "host": "x86_64-pc-linux-gnu", - "archiveFileName": "mtb-gcc-arm-none-eabi-11.3.1.67-linux.zip", + "archiveFileName": "mtb-gcc-arm-none-eabi-11.3.1.67-linux.tar.gz", "url": "https://github.com/Infineon/arduino-core-psoc6/releases/download/mtb-tools/mtb-gcc-arm-none-eabi-11.3.1.67-linux.tar.gz", "checksum": "SHA-256:76fb2d76080c3c2966983d8d8053cb7082416b83d8f5f6caa3d69bc8287d7846", "size": "212727150" + }, + { + "host": "x86_64-apple-darwin", + "archiveFileName": "mtb-gcc-arm-none-eabi-11.3.1.67-macosx.tar.gz", + "url": "https://github.com/Infineon/arduino-core-psoc6/releases/download/mtb-tools/mtb-gcc-arm-none-eabi-11.3.1.67-macosx.tar.gz", + "checksum": "SHA-256:081417273428cd7c929e8206c823c8681e53c84ee86f8ce95f71e726702e7d75", + "size": "206451774" } ] }, From bd2591ba895496855b4d87bf641ce635a0d11ebd Mon Sep 17 00:00:00 2001 From: jaenrig-ifx Date: Tue, 29 Apr 2025 14:04:10 +0200 Subject: [PATCH 3/4] ci-build-matrix.json: Added macos os to ci. Signed-off-by: jaenrig-ifx --- ci-build-matrix.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci-build-matrix.json b/ci-build-matrix.json index 7d833bf..738de1b 100644 --- a/ci-build-matrix.json +++ b/ci-build-matrix.json @@ -1,7 +1,8 @@ { "os" : [ "ubuntu-latest", - "windows-latest" + "windows-latest", + "macos-latest" ], "fqbn" : [ "infineon:psoc6:cy8ckit_062s2_ai" From 19b700168cf6e8cc066bce05d014056c398d5263 Mon Sep 17 00:00:00 2001 From: jaenrig-ifx Date: Thu, 1 May 2025 15:41:18 +0200 Subject: [PATCH 4/4] platform.txt: Bumped version to 0.4.0. Signed-off-by: jaenrig-ifx --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index a1cedfc..098351a 100644 --- a/platform.txt +++ b/platform.txt @@ -6,7 +6,7 @@ # The information about this Arduino compatible environment # --------- name=Infineon PSOC6 Boards -version=0.3.0 +version=0.4.0 # Build related core definitions # ---------