From 5d9a37ce36cce7577cfec336e77e8f33f9c6271e Mon Sep 17 00:00:00 2001 From: Mark Mentovai Date: Tue, 21 Jan 2025 16:48:17 -0500 Subject: [PATCH] Offer xPack-provided toolchain and OpenOCD packages for mac-arm64 This should improve the development experience on mac-arm64 systems (Apple Silicon, M1 and later CPUs) by using toolchain and OpenOCD builds for that architecture, rather than relying on binary translation of the mac-x86_64 tools. mac-arm64 tools are only added to the current versions of these packages in this index: xpack-arm-none-eabi-gcc 13.2.1-1.1, and xpack-openocd 0.12.0-4, both as used in the current STM32 platform version, 2.9.0. Future versions should continue to offer mac-arm64 builds in this package index. Link: #72 Signed-off-by: Mark Mentovai --- package_stmicroelectronics_index.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/package_stmicroelectronics_index.json b/package_stmicroelectronics_index.json index 2ebc9c4..be13beb 100644 --- a/package_stmicroelectronics_index.json +++ b/package_stmicroelectronics_index.json @@ -1045,6 +1045,13 @@ "checksum": "SHA-256:1ecc0fd6c31020aff702204f51459b4b00ff0d12b9cd95e832399881d819aa57", "size": "262217286" }, + { + "host": "arm64-apple-darwin", + "url": "https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v13.2.1-1.1/xpack-arm-none-eabi-gcc-13.2.1-1.1-darwin-arm64.tar.gz", + "archiveFileName": "xpack-arm-none-eabi-gcc-13.2.1-1.1-darwin-arm64.tar.gz", + "checksum": "SHA-256:d4ce0de062420daab140161086ba017642365977e148d20f55a8807b1eacd703", + "size": "258277148" + }, { "host": "x86_64-pc-linux-gnu", "url": "https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v13.2.1-1.1/xpack-arm-none-eabi-gcc-13.2.1-1.1-linux-x64.tar.gz", @@ -1171,6 +1178,13 @@ "checksum": "SHA-256:07d4a1443fa06552b9c15cc2d6b837c2bc22e4f85fc8e071e884a0b3cffe03c7", "size": "2344148" }, + { + "host": "arm64-apple-darwin", + "url": "https://github.com/xpack-dev-tools/openocd-xpack/releases/download/v0.12.0-4/xpack-openocd-0.12.0-4-darwin-arm64.tar.gz", + "archiveFileName": "xpack-openocd-0.12.0-4-darwin-arm64.tar.gz", + "checksum": "SHA-256:9cde393785869267ae10d152c914bd2b4c05a8ea1cdc9aa13b9c48bb8a231c0f", + "size": "2262193" + }, { "host": "x86_64-pc-linux-gnu", "url": "https://github.com/xpack-dev-tools/openocd-xpack/releases/download/v0.12.0-4/xpack-openocd-0.12.0-4-linux-x64.tar.gz",