feat ✨: Automate installation of MSP430 GCC toolchain and runner
Some checks failed
CC2530 Zigbee Firmware Build / build (push) Failing after 19s
Some checks failed
CC2530 Zigbee Firmware Build / build (push) Failing after 19s
- The workflow script now automates the installation of the MSP430 GCC toolchain and runner, streamlining the build process.
This commit is contained in:
@@ -37,8 +37,14 @@ jobs:
|
|||||||
# Extract the .7z installer
|
# Extract the .7z installer
|
||||||
7z x msp430-gcc-full-linux-x64-installer-9.3.1.2.7z -o/msp430-gcc
|
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
|
# Change directory to the extracted location
|
||||||
sudo cp -r /msp430-gcc/gcc-msp430-9.3.1.2/* /usr/local/
|
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
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user