Skip to content

Commit 9c3b874

Browse files
committed
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2 parents b12284e + d2160d3 commit 9c3b874

File tree

337 files changed

+90759
-1807
lines changed

Some content is hidden

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

337 files changed

+90759
-1807
lines changed

.github/workflows/bsp_buildings.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
RTT_TOOL_CHAIN: "sourcery-arm"
5050
SUB_RTT_BSP:
5151
- "raspberry-pico"
52-
- RTT_BSP: "others_at32_hc32"
52+
- RTT_BSP: "others_at32_hc32_ht32"
5353
RTT_TOOL_CHAIN: "sourcery-arm"
5454
SUB_RTT_BSP:
5555
- "qemu-vexpress-a9"
@@ -82,6 +82,8 @@ jobs:
8282
- "at32/at32f425-start"
8383
- "at32/at32f435-start"
8484
- "at32/at32f437-start"
85+
- "at32/at32m412-start"
86+
- "at32/at32m416-start"
8587
- "yichip/yc3122-pos"
8688
- "hc32/ev_hc32f4a0_lqfp176"
8789
- "hc32/ev_hc32f448_lqfp80"
@@ -96,6 +98,8 @@ jobs:
9698
- "acm32/acm32f0x0-nucleo"
9799
- "acm32/acm32f4xx-nucleo"
98100
- "rm48x50"
101+
- "ht32/ht32f52352"
102+
- "ht32/ht32f12366"
99103
- RTT_BSP: "stm32l4_f0_f1"
100104
RTT_TOOL_CHAIN: "sourcery-arm"
101105
SUB_RTT_BSP:

.github/workflows/static_code_analysis.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1+
#
2+
# Copyright (c) 2006-2024, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2024-09-04 Supperthomas add cppcheck use the latest release version
9+
#
110
name: Static code analysis
211

312
on:
13+
workflow_dispatch:
414
pull_request:
515
branches:
616
- master
@@ -25,11 +35,22 @@ jobs:
2535
shell: bash
2636
run: |
2737
sudo apt-get update
28-
sudo apt-get -qq install cppcheck
2938
pip install click PyYaml
39+
git clone https://github.com/danmar/cppcheck.git
40+
cd cppcheck
41+
git fetch --tags
42+
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
43+
echo "Latest release tag: $latest_tag"
44+
git checkout $latest_tag
45+
mkdir build
46+
cd build
47+
cmake ..
48+
make
49+
sudo make install
50+
cppcheck --version
51+
cd ../../
3052
git remote -v
3153
git fetch origin
32-
cppcheck --version
3354
ls
3455
git branch -a
35-
python tools/ci/cpp_check.py check
56+
python tools/ci/cpp_check.py check

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,7 @@ cmake-build-debug
5454
# vDSO
5555
vdso_sys.os
5656
vdso.lds
57+
58+
# cherryusb libraries
59+
!components/drivers/usb/cherryusb/port/pusb2/*.a
60+
!components/drivers/usb/cherryusb/port/xhci/phytium/*.a

bsp/at32/at32f407-start/board/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ menu "On-chip Peripheral Drivers"
4242

4343
config PHY_USING_DP83848
4444
bool "PHY USING DP83848"
45+
46+
config PHY_USING_LAN8720
47+
bool "PHY USING LAN8720"
48+
49+
config PHY_USING_YT8512
50+
bool "PHY USING YT8512"
4551
endchoice
4652
endif
4753

bsp/at32/at32f437-start/board/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ menu "On-chip Peripheral Drivers"
8181

8282
config PHY_USING_DP83848
8383
bool "PHY USING DP83848"
84+
85+
config PHY_USING_LAN8720
86+
bool "PHY USING LAN8720"
87+
88+
config PHY_USING_YT8512
89+
bool "PHY USING YT8512"
8490
endchoice
8591
endif
8692

0 commit comments

Comments
 (0)