From d94e3ee53f9be29c5c62b988ad4a82643348cd4c Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Tue, 31 Dec 2024 03:16:13 +0000 Subject: [PATCH] fix: MSYS paths --- tools/setup_buildenv_msys2_stage2.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/setup_buildenv_msys2_stage2.sh b/tools/setup_buildenv_msys2_stage2.sh index 59e788e11a9..3c2e7dae485 100644 --- a/tools/setup_buildenv_msys2_stage2.sh +++ b/tools/setup_buildenv_msys2_stage2.sh @@ -20,17 +20,17 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then read fi -echo "=== Step $((STEP++)): Downloading ARM gcc toolchain ===" +echo "=== Step $((STEP++)): Downloading GNU Arm Embedded Toolchain ===" wget https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-mingw-w64-i686-arm-none-eabi.zip if [[ $PAUSEAFTEREACHLINE == "true" ]]; then echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop." read fi -echo "=== Step $((STEP++)): Installing ARM gcc toolchain ===" -unzip arm-gnu-toolchain-14.2.rel1-mingw-w64-i686-arm-none-eabi.zip +echo "=== Step $((STEP++)): Installing GNU Arm Embedded Toolchain ===" +unzip arm-gnu-toolchain-14.2.rel1-mingw-w64-i686-arm-none-eabi.zip -d gcc-arm-none-eabi rm arm-gnu-toolchain-14.2.rel1-mingw-w64-i686-arm-none-eabi.zip -mv arm-gnu-toolchain-14.2.rel1-mingw-w64-i686-arm-none-eabi /opt/gcc-arm-none-eabi +mv gcc-arm-none-eabi/ /opt/gcc-arm-none-eabi if [[ $PAUSEAFTEREACHLINE == "true" ]]; then echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop." read