Skip to content

Commit 7f95f74

Browse files
authored
Merge branch 'RT-Thread:master' into f4_sdk-2
2 parents 224c650 + 6073200 commit 7f95f74

File tree

318 files changed

+16320
-1623
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

318 files changed

+16320
-1623
lines changed

.github/utest/cpp11/cpp11.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
CONFIG_UTEST_CPP11_THREAD_TC=y
2+
# dependencies
3+
CONFIG_RT_USING_CI_ACTION=y
4+
CONFIG_RT_USING_CPLUSPLUS=y
5+
CONFIG_RT_USING_CPLUSPLUS11=y

.github/utest/default.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_RT_USING_CI_ACTION=y
2+
CONFIG_RT_CONSOLEBUF_SIZE=1024

.github/utest/rtsmart/rtsmart.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CONFIG_UTEST_MEMHEAP_TC=y
2+
3+
# dependencies
4+
CONFIG_RT_USING_SMART=y
5+
CONFIG_RT_USING_MEMHEAP=y
6+
CONFIG_RT_USING_DFS_V2=y

.github/utest/smp/smp.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_RT_USING_SMP=y
2+
# dependencies
3+
CONFIG_SYSTEM_THREAD_STACK_SIZE=4096

.github/workflows/bsp_buildings.yml

Lines changed: 69 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
#
2+
# Copyright (c) 2025, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2025-03-22 Supperthomas 添加upload 上传编译固件
9+
#
110
name: RT-Thread BSP Static Build Check
211

312
# Controls when the action will run. Triggers the workflow on push or pull request
@@ -41,34 +50,17 @@ jobs:
4150
RTT_TOOL_CHAIN: "sourcery-arm"
4251
SUB_RTT_BSP:
4352
- "stm32/stm32f407-rt-spark"
44-
- RTT_BSP: "RTduino/Arduino Libraries (STM32F412 Nucleo)"
53+
- RTT_BSP: "RTduino_Arduino Libraries (STM32F412 Nucleo)"
4554
RTT_TOOL_CHAIN: "sourcery-arm"
4655
SUB_RTT_BSP:
4756
- "stm32/stm32f412-st-nucleo"
48-
- RTT_BSP: "RTduino/Arduino Libraries (Raspberry Pico)"
57+
- RTT_BSP: "RTduino_Arduino Libraries (Raspberry Pico)"
4958
RTT_TOOL_CHAIN: "sourcery-arm"
5059
SUB_RTT_BSP:
5160
- "raspberry-pico"
52-
- RTT_BSP: "others_at32_hc32_ht32"
61+
- RTT_BSP: "at32_hc32_ht32"
5362
RTT_TOOL_CHAIN: "sourcery-arm"
54-
SUB_RTT_BSP:
55-
- "qemu-vexpress-a9"
56-
- "airm2m/air32f103"
57-
- "acm32/acm32f0x0-nucleo"
58-
- "CME_M7"
59-
- "apollo2"
60-
- "asm9260t"
61-
- "allwinner_tina"
62-
- "ft32/ft32f072xb-starter"
63-
- "mini2440"
64-
- "at91/at91sam9g45"
65-
- "at91/at91sam9260"
66-
- "wch/arm/ch32f103c8-core"
67-
- "wch/arm/ch32f203r-evt"
68-
- "synwit/swm320-mini"
69-
- "synwit/swm341-mini"
70-
- "beaglebone"
71-
- "zynqmp-r5-axu4ev"
63+
SUB_RTT_BSP:
7264
- "at32/at32a403a-start"
7365
- "at32/at32a423-start"
7466
- "at32/at32f402-start"
@@ -87,30 +79,50 @@ jobs:
8779
- "at32/at32f457-start"
8880
- "at32/at32m412-start"
8981
- "at32/at32m416-start"
90-
- "yichip/yc3122-pos"
9182
- "hc32/ev_hc32f4a0_lqfp176"
9283
- "hc32/ev_hc32f448_lqfp80"
9384
- "hc32/ev_hc32f460_lqfp100_v2"
9485
- "hc32/ev_hc32f472_lqfp100"
9586
- "hc32/lckfb-hc32f4a0-lqfp100"
9687
- "hc32l196"
88+
- "hc32l136"
89+
- "ht32/ht32f52352"
90+
- "ht32/ht32f12366"
91+
- "ht32/ht32f53252"
92+
- RTT_BSP: "others_ft32_mm32_acm32"
93+
RTT_TOOL_CHAIN: "sourcery-arm"
94+
SUB_RTT_BSP:
95+
- "qemu-vexpress-a9"
96+
- "airm2m/air32f103"
97+
- "acm32/acm32f0x0-nucleo"
98+
- "acm32/acm32f0x0-nucleo"
99+
- "acm32/acm32f4xx-nucleo"
100+
- "CME_M7"
101+
- "apollo2"
102+
- "asm9260t"
103+
- "allwinner_tina"
104+
- "ft32/ft32f072xb-starter"
105+
- "mini2440"
106+
- "at91/at91sam9g45"
107+
- "at91/at91sam9260"
108+
- "wch/arm/ch32f103c8-core"
109+
- "wch/arm/ch32f203r-evt"
110+
- "synwit/swm320-mini"
111+
- "synwit/swm341-mini"
112+
- "beaglebone"
113+
- "zynqmp-r5-axu4ev"
114+
- "yichip/yc3122-pos"
115+
- "yichip/yc3121-pos"
97116
- "mm32/mm32f3270-100ask-pitaya"
98117
- "mm32f327x"
99118
- "mm32f526x"
100119
- "mm32l07x"
101120
- "sam7x"
102121
- "hk32/hk32f030c8-mini"
103-
- "acm32/acm32f0x0-nucleo"
104-
- "acm32/acm32f4xx-nucleo"
105122
- "rm48x50"
106-
- "ht32/ht32f52352"
107-
- "ht32/ht32f12366"
108-
- "ht32/ht32f53252"
109123
- "w60x"
110124
- "essemi/es32f0654"
111125
- "essemi/es32f365x"
112-
- "hc32l136"
113-
- "yichip/yc3121-pos"
114126
- "fm33lc026"
115127
- RTT_BSP: "stm32l4"
116128
RTT_TOOL_CHAIN: "sourcery-arm"
@@ -189,6 +201,7 @@ jobs:
189201
- "stm32/stm32f767-st-nucleo"
190202
- "stm32/stm32f769-st-disco"
191203
- "stm32/stm32f723-st-disco"
204+
- "stm32/stm32g030-tiny-board"
192205
- "stm32/stm32g070-st-nucleo"
193206
- "stm32/stm32g071-st-nucleo"
194207
- "stm32/stm32g431-st-nucleo"
@@ -424,14 +437,27 @@ jobs:
424437
echo "RTT_CC=gcc" >> $GITHUB_ENV
425438
echo "export PATH=~/.env/tools/scripts:$PATH" > ~/.env/env.sh
426439
427-
- name: Install Arm ToolChains
428-
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm' && success() }}
440+
- name: Cache GCC Arm Toolchain
441+
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm'}}
442+
id: cache-gcc-arm
443+
uses: actions/cache@main
444+
with:
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
447+
448+
- name: Download Arm ToolChains
449+
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm' && (steps.cache-gcc-arm.outputs.cache-hit != 'true') }}
450+
shell: bash
451+
run: |
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
454+
455+
- name: Install Arm ToolChains2
456+
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm'}}
429457
shell: bash
430458
run: |
431-
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
432-
sudo tar xjf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 -C /opt
433-
/opt/gcc-arm-none-eabi-10-2020-q4-major/bin/arm-none-eabi-gcc --version
434-
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
435461
436462
- name: Install LLVM-Arm ToolChains
437463
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'llvm-arm' && success() }}
@@ -519,6 +545,14 @@ jobs:
519545
source ~/.env/env.sh
520546
python tools/ci/bsp_buildings.py
521547
548+
- name: Upload output as artifact
549+
if: ${{ success() }}
550+
uses: actions/upload-artifact@main
551+
with:
552+
name: ${{ matrix.legs.RTT_BSP }}
553+
if-no-files-found: ignore
554+
path: output/
555+
522556
- name: Post failure comment
523557
if: failure()
524558
run: |

.github/workflows/compile_bsp_with_drivers.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,7 @@ name: BSP compilation with more drivers
1313
# Controls when the action will run. Triggers the workflow on push or pull request
1414
# events but only for the master branch
1515
on:
16-
push:
17-
branches:
18-
- master
19-
paths-ignore:
20-
- documentation/**
21-
- '**/README.md'
22-
- '**/README_zh.md'
23-
pull_request:
24-
branches:
25-
- master
26-
paths-ignore:
27-
- documentation/**
28-
- '**/README.md'
29-
- '**/README_zh.md'
16+
workflow_dispatch: #disable
3017

3118
permissions:
3219
contents: read # to fetch code (actions/checkout)

.github/workflows/format_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
name: Scan code format and license
1616
if: github.repository_owner == 'RT-Thread'
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@main
1919
- name: Set up Python
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@main
2121
with:
2222
python-version: 3.8
2323

.github/workflows/static_code_analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
name: Static code analysis
2626
if: github.repository_owner == 'RT-Thread'
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@main
2929
- name: Set up Python
3030
uses: actions/setup-python@main
3131
with:

0 commit comments

Comments
 (0)