Skip to content

Commit 75b77a6

Browse files
authored
Support for Running Arm Zephyr Toolchain on aarch64 Host Machines (#13335)
### Summary When testing ExecuTorch with Arm devices running Zephyr, only the toolchain download path for the x86-64 host was included. This PR adds the path for a aarch64 machine, so that that Zephyr flows can be run and validated on aarch64 machines.
1 parent 86a84a3 commit 75b77a6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/arm/setup.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,9 @@ function select_toolchain() {
299299
fi
300300
elif [[ "${OS}" == "Linux" ]]; then
301301
if [[ "${target_toolchain}" == "zephyr" ]]; then
302-
# eventually, this can be support by downloading the the toolchain from
303-
# "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.2/toolchain_linux-aarch64_arm-zephyr-eabi.tar.xz"
304-
# but for now, we error if user tries to specify this
305-
echo "[main] Error: currently target_toolchain zephyr is only support for x86-64 Linux host systems!"; exit 1;
302+
toolchain_url="https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.2/toolchain_linux-aarch64_arm-zephyr-eabi.tar.xz"
303+
toolchain_dir="arm-zephyr-eabi"
304+
toolchain_md5_checksum="ef4ca56786204439a75270ba800cc64b"
306305
else
307306
toolchain_url="https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz"
308307
toolchain_dir="arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi"

0 commit comments

Comments
 (0)