File tree 2 files changed +13
-8
lines changed
portable/ThirdParty/GCC/Posix 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -150,16 +150,25 @@ jobs:
150
150
with :
151
151
path : ./FreeRTOS/Source
152
152
153
- - name : Install MSP430 Toolchain
153
+ - env :
154
+ stepName : Install MSP430 Toolchain
154
155
shell : bash
155
156
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 }}"
158
167
159
168
- name : Build msp430_GCC Demo
160
169
shell : bash
161
170
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"
163
172
164
173
MicroBlaze-GCC :
165
174
name : GCC MicroBlaze Toolchain
Original file line number Diff line number Diff line change 65
65
#include <time.h>
66
66
#include <unistd.h>
67
67
68
- #ifdef __APPLE__
69
- #include <mach/mach_vm.h>
70
- #endif
71
-
72
68
/* Scheduler includes. */
73
69
#include "FreeRTOS.h"
74
70
#include "task.h"
You can’t perform that action at this time.
0 commit comments