feat ✨: Update PATH for MSP430 ELF GCC tool verification and usage
Some checks failed
CC2530 Zigbee Firmware Build / build (push) Failing after 27s
Some checks failed
CC2530 Zigbee Firmware Build / build (push) Failing after 27s
- The MAIN GOAL of these changes is to verify and update the PATH environment variable with the MSP430 ELF GCC tool.
This commit is contained in:
@@ -36,11 +36,19 @@ jobs:
|
|||||||
|
|
||||||
ls -alt /tmp/msp430-gcc-9.3.1.11_linux64/bin/
|
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
|
# 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
|
||||||
|
|
||||||
|
- 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
|
- name: Check if msp430-elf-gcc is available
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user