Skip to content

Commit 3d315f3

Browse files
committed
Fix CI failure
Signed-off-by: Gaurav Aggarwal <[email protected]>
1 parent 07d725d commit 3d315f3

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/kernel-demos.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,25 @@ jobs:
150150
with:
151151
path: ./FreeRTOS/Source
152152

153-
- name: Install MSP430 Toolchain
153+
- env:
154+
stepName: Install MSP430 Toolchain
154155
shell: bash
155156
run: |
156-
sudo apt-get -y update
157-
sudo apt-get -y install gcc-msp430 build-essential
157+
# ${{ env.stepName }}
158+
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
159+
curl -L -O https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-full-linux-x64-installer-9.3.1.2.7z
160+
sudo apt update -y
161+
sudo apt install -y p7zip-full
162+
7z x ./msp430-gcc-full-linux-x64-installer-9.3.1.2.7z
163+
chmod +x ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run
164+
sudo ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run --prefix /usr/bin/msp430-gcc --mode unattended
165+
echo "::endgroup::"
166+
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }}"
158167
159168
- name: Build msp430_GCC Demo
160169
shell: bash
161170
working-directory: FreeRTOS/Demo/msp430_GCC
162-
run: make -j
171+
run: make -j CC=/usr/bin/msp430-gcc/bin/msp430-elf-gcc OPT="-Os -I/usr/bin/msp430-gcc/include -L/usr/bin/msp430-gcc/include"
163172

164173
MicroBlaze-GCC:
165174
name: GCC MicroBlaze Toolchain

0 commit comments

Comments
 (0)