From ede4ef6e44d5924962471f187e5a21af2d226a47 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 22 Feb 2025 12:19:23 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20Automate=20installation=20o?= =?UTF-8?q?f=20MSP430=20GCC=20toolchain=20and=20runner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The workflow script now automates the installation of the MSP430 GCC toolchain and runner, streamlining the build process. --- .gitea/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 177049e..a0e1d26 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -37,8 +37,14 @@ jobs: # 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/ + # 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 silent mode + sudo ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run --mode silent --prefix /usr/local # You would also install the necessary firmware building tools if they are available # or set up cross-compilation for ARM