From b92633752158f7f690e439c90cb3817c8cf3db9e Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 22 Feb 2025 12:40:04 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20Update=20installation=20pro?= =?UTF-8?q?cess=20for=20MSP430=20toolchain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The main goal of these changes is to update and modify the installation process of the MSP430 toolchain. --- .gitea/workflows/ci.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index df9683d..14a0f13 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -31,23 +31,11 @@ jobs: # 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 + wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-9.3.1.11_linux64.tar.bz2 + tar -xjf msp430-gcc-9.3.1.11_linux64.tar.bz2 -C /opt - # Extract the .7z installer - 7z x msp430-gcc-full-linux-x64-installer-9.3.1.2.7z -o/msp430-gcc - - # Change directory to the extracted location - cd /msp430-gcc - - # Make the .run installer executable - chmod +x msp430-gcc-full-linux-x64-installer-9.3.1.2.run - - # Run the installer in unattended mode (no user interaction) - sudo ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run --mode unattended --prefix /usr/local - - # Add /usr/local/bin to the PATH to ensure msp430-gcc is accessible - echo "/usr/local/bin" >> $GITHUB_ENV + echo "export PATH=/opt/msp430-elf/bin:$PATH" >> ~/.bashrc + source ~/.bashrc # You would also install the necessary firmware building tools if they are available # or set up cross-compilation for ARM