feat ✨: Improve MSP430 GCC compiler setup and usage in CI
Some checks failed
CC2530 Zigbee Firmware Build / build (push) Failing after 28s
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:
@@ -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
|
||||
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
|
||||
# or set up cross-compilation for ARM
|
||||
|
||||
@@ -47,9 +45,14 @@ jobs:
|
||||
echo "MSP430 GCC not found!"
|
||||
exit 1
|
||||
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
|
||||
run: |
|
||||
which msp430-elf-gcc
|
||||
|
||||
Reference in New Issue
Block a user