feat : Improve MSP430 GCC compiler setup and usage in CI
Some checks failed
CC2530 Zigbee Firmware Build / build (push) Failing after 28s

- The main goal of the changes is to improve the setup and usage of the MSP430 GCC compiler in the CI workflow.
This commit is contained in:
2025-02-22 18:44:13 +01:00
parent 32ba900134
commit aabeafee14

View File

@@ -34,8 +34,6 @@ jobs:
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 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 /tmp tar -xjf msp430-gcc-9.3.1.11_linux64.tar.bz2 -C /tmp
ls -alt /tmp/msp430-gcc-9.3.1.11_linux64/bin/
# You would also install the necessary firmware building tools if they are available # You would also install the necessary firmware building tools if they are available
# or set up cross-compilation for ARM # or set up cross-compilation for ARM
@@ -47,9 +45,14 @@ jobs:
echo "MSP430 GCC not found!" echo "MSP430 GCC not found!"
exit 1 exit 1
fi fi
echo "export PATH=/tmp/msp430-gcc-9.3.1.11_linux64/bin:$PATH" >> $GITHUB_ENV
echo $PATH
ls -alt /tmp/msp430-gcc-9.3.1.11_linux64/bin/
# Add msp430-elf bin directory to PATH and verify with echo $PATH
echo "PATH=/tmp/msp430-gcc-9.3.1.11_linux64/bin:$PATH" >> $GITHUB_ENV
echo "Updated PATH: $PATH"
- name: Check if msp430-elf-gcc is available - name: Check if msp430-elf-gcc is available
run: | run: |
which msp430-elf-gcc which msp430-elf-gcc