From 6d5caa48ac79bcb82e9ae142ace8b06adf110cf7 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 22 Feb 2025 12:01:58 +0100 Subject: [PATCH] =?UTF-8?q?chore=20=F0=9F=93=A6:=20Update=20CI=20workflow?= =?UTF-8?q?=20script=20to=20use=20direct=20downloads=20of=20MSP430=20GCC?= =?UTF-8?q?=20toolchain=20and=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The changes to the CI workflow script update the installation commands for the MSP430 GCC toolchain and its dependencies, switching from alternative methods to direct downloads. --- .gitea/workflows/ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 31aeb47..177049e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,8 +24,21 @@ jobs: # Example: For IAR Workbench you might need to install some packages or configure environment variables. sudo apt-get update - sudo apt-get install -y gcc-arm-none-eabi build-essential - sudo apt-get -y install gcc-msp430 + sudo apt-get install -y gcc build-essential make + # sudo apt-get -y install gcc-msp430 + + # Install MSP430 GCC toolchain using alternative method + # Add the MSP430 tools repository and install the tools + sudo apt-get install -y wget p7zip-full + + # Download the MSP430 GCC toolchain from TI's official link + wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-full-linux-x64-installer-9.3.1.2.7z + + # Extract the .7z installer + 7z x msp430-gcc-full-linux-x64-installer-9.3.1.2.7z -o/msp430-gcc + + # Install the MSP430 GCC toolchain by copying to the appropriate location + sudo cp -r /msp430-gcc/gcc-msp430-9.3.1.2/* /usr/local/ # You would also install the necessary firmware building tools if they are available # or set up cross-compilation for ARM