Skip to content

Commit c79ecd1

Browse files
authored
[action] 更新一下toolchain的版本号
1 parent e58806f commit c79ecd1

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/bsp_buildings.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -442,22 +442,22 @@ jobs:
442442
id: cache-gcc-arm
443443
uses: actions/cache@main
444444
with:
445-
path: /opt/gcc-arm-none-eabi-10-2020-q4-major
446-
key: ${{ runner.os }}-arm-none-eabi-10-2020-q4-major
445+
path: /opt/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi
446+
key: ${{ runner.os }}-arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi
447447

448448
- name: Download Arm ToolChains
449449
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm' && (steps.cache-gcc-arm.outputs.cache-hit != 'true') }}
450450
shell: bash
451451
run: |
452-
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.3/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
453-
sudo tar xjf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 -C /opt
452+
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.8/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz
453+
sudo tar -xf arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz -C /opt
454454
455455
- name: Install Arm ToolChains2
456456
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm'}}
457457
shell: bash
458458
run: |
459-
/opt/gcc-arm-none-eabi-10-2020-q4-major/bin/arm-none-eabi-gcc --version
460-
echo "RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-10-2020-q4-major/bin" >> $GITHUB_ENV
459+
/opt/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-gcc --version
460+
echo "RTT_EXEC_PATH=/opt/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin" >> $GITHUB_ENV
461461
462462
- name: Install LLVM-Arm ToolChains
463463
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'llvm-arm' && success() }}

bsp/yichip/yc3121-pos/Libraries/core/type.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ typedef signed int int32_t;
2323
typedef signed long long int64_t;
2424
#else
2525
#include "stdio.h"
26+
#include "stdint.h"
2627
typedef unsigned char byte;
2728
typedef unsigned short word;
2829
#endif

0 commit comments

Comments
 (0)