From a6f47811ea63c0f8bf11c0f89044e4987d2717e4 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 22 Feb 2025 18:18:28 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20Update=20PATH=20for=20MSP43?= =?UTF-8?q?0=20ELF=20GCC=20tool=20verification=20and=20usage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The MAIN GOAL of these changes is to verify and update the PATH environment variable with the MSP430 ELF GCC tool. --- .gitea/workflows/ci.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3282372..6646f60 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -36,11 +36,19 @@ jobs: ls -alt /tmp/msp430-gcc-9.3.1.11_linux64/bin/ - echo "export PATH=/tmp/msp430-gcc-9.3.1.11_linux64/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 + + - name: Verify and update PATH for MSP430 ELF GCC + run: | + if [ -f "/tmp/msp430-gcc-9.3.1.11_linux64/bin/msp430-elf-gcc" ]; then + echo "MSP430 GCC found." + else + echo "MSP430 GCC not found!" + exit 1 + fi + echo "export PATH=/tmp/msp430-gcc-9.3.1.11_linux64/bin:$PATH" >> ~/.bashrc + source ~/.bashrc - name: Check if msp430-elf-gcc is available run: |