File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
portable/ThirdParty/GCC/Posix Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 6565#include <time.h>
6666#include <unistd.h>
6767
68- #ifdef __APPLE__
69- #include <mach/mach_vm.h>
70- #endif
71-
7268/* Scheduler includes. */
7369#include "FreeRTOS.h"
7470#include "task.h"
You can’t perform that action at this time.
0 commit comments