This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 98d4d887da8 msvc ci:change arm source to xpack
98d4d887da8 is described below

commit 98d4d887da89871cce362fcc9007f3e6584c53b1
Author: xuxin19 <[email protected]>
AuthorDate: Wed Jan 21 15:45:02 2026 +0800

    msvc ci:change arm source to xpack
    
    Try using Xpack to obtain the Windows toolchain to resolve CI/BB issues.
    
    Signed-off-by: xuxin19 <[email protected]>
---
 tools/ci/platforms/windows.ps1 | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/tools/ci/platforms/windows.ps1 b/tools/ci/platforms/windows.ps1
index 4b2a2620d3f..744553a9b51 100644
--- a/tools/ci/platforms/windows.ps1
+++ b/tools/ci/platforms/windows.ps1
@@ -121,12 +121,12 @@ function arm_gcc_toolchain() {
       if (-not (Test-Path -Path 
"$NUTTXTOOLS\gcc-arm-none-eabi\bin\arm-none-eabi-gcc.exe")) {
         # Download the file
         Write-Host "Download: ARM GCC toolchain" -ForegroundColor Green
-        $basefile = "arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi"
+        $basefile = "xpack-arm-none-eabi-gcc-13.2.1-1.1-win32-x64"
         Set-Location "$NUTTXTOOLS"
-        # Download the latest ARM GCC toolchain prebuilt by ARM
-        Invoke-WebRequest -Uri 
"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/$basefile.zip";
 -OutFile "$NUTTXTOOLS\$basefile.zip" -ErrorAction Stop
+        # Download ARM GCC toolchain from xPack
+        Invoke-WebRequest -Uri 
"https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v13.2.1-1.1/$basefile.zip";
 -OutFile "$NUTTXTOOLS\$basefile.zip" -ErrorAction Stop
         Expand-Archive "$NUTTXTOOLS\$basefile.zip"
-        Move-Item -Path "$basefile\$basefile" -Destination "gcc-arm-none-eabi"
+        Move-Item -Path "$basefile\xpack-arm-none-eabi-gcc-13.2.1-1.1" 
-Destination "gcc-arm-none-eabi"
         Remove-Item "$basefile*" -Force
       }
     }
@@ -146,12 +146,12 @@ function arm64_gcc_toolchain() {
       if (-not (Test-Path -Path 
"$NUTTXTOOLS\gcc-aarch64-none-elf\bin\aarch64-none-elf-gcc.exe")) {
         # Download the file
         Write-Host "Download: ARM64 GCC toolchain" -ForegroundColor Green
-        $basefile = 
"arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-aarch64-none-elf"
+        $basefile = "xpack-aarch64-none-elf-gcc-13.2.1-1.1-win32-x64"
         Set-Location "$NUTTXTOOLS"
-        # Download the latest ARM64 GCC toolchain prebuilt by ARM
-        Invoke-WebRequest -Uri 
"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.Rel1/binrel/$basefile.zip";
 -OutFile "$NUTTXTOOLS\$basefile.zip" -ErrorAction Stop
+        # Download ARM64 GCC toolchain from xPack
+        Invoke-WebRequest -Uri 
"https://github.com/xpack-dev-tools/aarch64-none-elf-gcc-xpack/releases/download/v13.2.1-1.1/$basefile.zip";
 -OutFile "$NUTTXTOOLS\$basefile.zip" -ErrorAction Stop
         Expand-Archive "$NUTTXTOOLS\$basefile.zip"
-        Move-Item -Path "$basefile\$basefile" -Destination 
"gcc-aarch64-none-elf"
+        Move-Item -Path "$basefile\xpack-aarch64-none-elf-gcc-13.2.1-1.1" 
-Destination "gcc-aarch64-none-elf"
         Remove-Item "$basefile*" -Force
       }
     }

Reply via email to