Skip to content

Commit dfebb30

Browse files
authored
Merge pull request #2238 from armink/lts-v3.1.x
Sync from master latest version.
2 parents 3dd0ebe + b7996af commit dfebb30

File tree

2,871 files changed

+3041020
-685
lines changed

Some content is hidden

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

2,871 files changed

+3041020
-685
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,33 @@
1-
### Summary of this Pull Request (PR) 拉取/合并请求的简述
1+
## 拉取/合并请求描述:(PR description)
22

3-
**Add description here.** **请在这里加入描述**
3+
[
4+
这段方括号里的内容是您必须填写并替换掉的,否则PR不可能被合并。方括号外面的内容不需要修改,但请仔细阅读。
5+
The content in this square bracket must be filled in and replaced, otherwise PR can not be merged. The contents outside square brackets need not be changed, but please read them carefully.
46

5-
### Intent for your PR 拉取/合并请求的目的
7+
请在这里填写您的PR描述,可以包括以下之一的内容:为什么提交这份PR;解决的问题是什么,你的解决方案是什么;
8+
Please fill in your PR description here, which can include one of the following items: why to submit this PR; what is the problem solved and what is your solution;
69

7-
Choose one (Mandatory): 必须选择一项
10+
并确认并列出已经在什么情况或板卡上进行了测试。
11+
And confirm in which case or board have been tested.
12+
]
813

9-
- [ ] This PR is for a code-review and is intended to get feedback 本拉取/合并请求是一个草稿版本
10-
- [ ] This PR is mature, and ready to be integrated into the repo 本拉取/合并请求是一个成熟版本
14+
以下的内容请在提交PR后,一项项进行check,没问题后逐条在页面上打钩。
15+
The following contents should be checked item by item after submitted PR, and ticked on the browser one by one after no problem.
1116

12-
### Reviewers (Mandatory): 代码审阅者(必须指定)
17+
### 当前拉取/合并请求的状态 Intent for your PR
1318

14-
(@<github.com username(s)> Ex: @user1, @user2)
19+
必须选择一项 Choose one (Mandatory):
1520

16-
### Code Quality: 代码质量
21+
- [ ] 本拉取/合并请求是一个草稿版本 This PR is for a code-review and is intended to get feedback
22+
- [ ] 本拉取/合并请求是一个成熟版本 This PR is mature, and ready to be integrated into the repo
1723

18-
As part of this pull request, I've considered the following:
19-
我在这个拉取/合并请求中已经考虑了:
24+
### 代码质量 Code Quality:
2025

21-
- [ ] Already check the difference between PR and old code 已经仔细查看过代码改动的对比
22-
- [ ] Style guide is adhered to, including spacing, naming and other style 代码风格正确,包括缩进空格,命名及其他风格
23-
- [ ] All redundant code is removed and cleaned up 没有垃圾代码,代码尽量精简,不包含`#if 0`代码,不包含已经被注释了的代码
24-
- [ ] All modifications are justified and not affect other components or BSP 所有变更均有原因及合理的,并且不会影响到其他软件组件代码或BSP
25-
- [ ] I've commented appropriately where code is tricky 对难懂代码均提供对应的注释
26-
- [ ] Code in this PR is of high quality 本拉取/合并请求代码是高质量的
26+
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
2727

28-
### Testing:代码测试
29-
30-
I've tested the code using the following test programs (provide list here):
31-
我已经在如下场合跑过对应的测试:
32-
33-
- [ ] application 1
34-
- [ ] application 2
35-
- [ ] ...(add others here)
28+
- [ ] 已经仔细查看过代码改动的对比 Already check the difference between PR and old code
29+
- [ ] 代码风格正确,包括缩进空格,命名及其他风格 Style guide is adhered to, including spacing, naming and other style
30+
- [ ] 没有垃圾代码,代码尽量精简,不包含`#if 0`代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up
31+
- [ ] 所有变更均有原因及合理的,并且不会影响到其他软件组件代码或BSP All modifications are justified and not affect other components or BSP
32+
- [ ] 对难懂代码均提供对应的注释 I've commented appropriately where code is tricky
33+
- [ ] 本拉取/合并请求代码是高质量的 Code in this PR is of high quality

.travis.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,25 @@ env:
8080
- RTT_BSP='stm32f429-disco' RTT_TOOL_CHAIN='sourcery-arm'
8181
- RTT_BSP='stm32l475-iot-disco' RTT_TOOL_CHAIN='sourcery-arm'
8282
- RTT_BSP='stm32l476-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
83-
- RTT_BSP='stm32h743-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
83+
- RTT_BSP='stm32h743-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
84+
- RTT_BSP='stm32/stm32f091-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
85+
- RTT_BSP='stm32/stm32f103-atk-nano' RTT_TOOL_CHAIN='sourcery-arm'
86+
- RTT_BSP='stm32/stm32f103-dofly-lyc8' RTT_TOOL_CHAIN='sourcery-arm'
87+
- RTT_BSP='stm32/stm32f103-fire-arbitrary' RTT_TOOL_CHAIN='sourcery-arm'
88+
- RTT_BSP='stm32/stm32f103-hw100k-ibox' RTT_TOOL_CHAIN='sourcery-arm'
89+
- RTT_BSP='stm32/stm32f407-atk-explorer' RTT_TOOL_CHAIN='sourcery-arm'
90+
- RTT_BSP='stm32/stm32f407-st-discovery' RTT_TOOL_CHAIN='sourcery-arm'
91+
- RTT_BSP='stm32/stm32f411-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
92+
- RTT_BSP='stm32/stm32f429-armfly-v6' RTT_TOOL_CHAIN='sourcery-arm'
93+
- RTT_BSP='stm32/stm32f429-atk-apollo' RTT_TOOL_CHAIN='sourcery-arm'
94+
- RTT_BSP='stm32/stm32f429-fire-challenger' RTT_TOOL_CHAIN='sourcery-arm'
95+
- RTT_BSP='stm32/stm32f446-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
96+
- RTT_BSP='stm32/stm32f746-st-disco' RTT_TOOL_CHAIN='sourcery-arm'
97+
- RTT_BSP='stm32/stm32f767-atk-apollo' RTT_TOOL_CHAIN='sourcery-arm'
98+
- RTT_BSP='stm32/stm32f767-fire-challenger' RTT_TOOL_CHAIN='sourcery-arm'
99+
- RTT_BSP='stm32/stm32f767-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
100+
- RTT_BSP='stm32/stm32l432-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
101+
- RTT_BSP='stm32/stm32l475-atk-pandora' RTT_TOOL_CHAIN='sourcery-arm'
84102
# - RTT_BSP='taihu' RTT_TOOL_CHAIN='sourcery-ppc'
85103
# - RTT_BSP='upd70f3454' # iar
86104
# - RTT_BSP='x86' # x86

bsp/allwinner_tina/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config $BSP_DIR
3+
config BSP_DIR
44
string
55
option env="BSP_ROOT"
66
default "."
77

8-
config $RTT_DIR
8+
config RTT_DIR
99
string
1010
option env="RTT_ROOT"
1111
default "../.."
1212

1313
# you can change the RTT_ROOT default "../.." to your rtthread_root,
1414
# example : default "F:/git_repositories/rt-thread"
1515

16-
config $PKGS_DIR
16+
config PKGS_DIR
1717
string
1818
option env="PKGS_ROOT"
1919
default "packages"

bsp/amebaz/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config $BSP_DIR
3+
config BSP_DIR
44
string
55
option env="BSP_ROOT"
66
default "."
77

8-
config $RTT_DIR
8+
config RTT_DIR
99
string
1010
option env="RTT_ROOT"
1111
default "../.."
1212

1313
# you can change the RTT_ROOT default "../.." to your rtthread_root,
1414
# example : default "F:/git_repositories/rt-thread"
1515

16-
config $PKGS_DIR
16+
config PKGS_DIR
1717
string
1818
option env="PKGS_ROOT"
1919
default "packages"
2020

21-
config $ENV_DIR
21+
config ENV_DIR
2222
string
2323
option env="ENV_ROOT"
2424
default "/"

bsp/amebaz/SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
2727
if rtconfig.PLATFORM == 'iar':
2828
env.Replace(CCCOM = ['$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
2929
env.Replace(ARFLAGS = [''])
30-
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
30+
env.Replace(LINKCOM = env["LINKCOM"] + ' --map project.map')
3131

3232
Export('RTT_ROOT')
3333
Export('rtconfig')

bsp/asm9260t/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config $BSP_DIR
3+
config BSP_DIR
44
string
55
option env="BSP_ROOT"
66
default "."
77

8-
config $RTT_DIR
8+
config RTT_DIR
99
string
1010
option env="RTT_ROOT"
1111
default "../.."
1212

13-
config $PKGS_DIR
13+
config PKGS_DIR
1414
string
1515
option env="PKGS_ROOT"
1616
default "packages"

bsp/at91sam9260/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config $BSP_DIR
3+
config BSP_DIR
44
string
55
option env="BSP_ROOT"
66
default "."
77

8-
config $RTT_DIR
8+
config RTT_DIR
99
string
1010
option env="RTT_ROOT"
1111
default "../.."
1212

13-
config $PKGS_DIR
13+
config PKGS_DIR
1414
string
1515
option env="PKGS_ROOT"
1616
default "packages"

bsp/beaglebone/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config $BSP_DIR
3+
config BSP_DIR
44
string
55
option env="BSP_ROOT"
66
default "."
77

8-
config $RTT_DIR
8+
config RTT_DIR
99
string
1010
option env="RTT_ROOT"
1111
default "../.."
1212

1313
# you can change the RTT_ROOT default "../.." to your rtthread_root,
1414
# example: default "F:/git_repositories/rt-thread"
1515

16-
config $PKGS_DIR
16+
config PKGS_DIR
1717
string
1818
option env="PKGS_ROOT"
1919
default "packages"
2020

21-
config $ENV_DIR
21+
config ENV_DIR
2222
string
2323
option env="ENV_ROOT"
2424
default "/"

bsp/ck802/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config $BSP_DIR
3+
config BSP_DIR
44
string
55
option env="BSP_ROOT"
66
default "."
77

8-
config $RTT_DIR
8+
config RTT_DIR
99
string
1010
option env="RTT_ROOT"
1111
default "../.."
1212

1313
# you can change the RTT_ROOT default "../.." to your rtthread_root,
1414
# example : default "F:/git_repositories/rt-thread"
1515

16-
config $PKGS_DIR
16+
config PKGS_DIR
1717
string
1818
option env="PKGS_ROOT"
1919
default "packages"

bsp/dm365/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config $BSP_DIR
3+
config BSP_DIR
44
string
55
option env="BSP_ROOT"
66
default "."
77

8-
config $RTT_DIR
8+
config RTT_DIR
99
string
1010
option env="RTT_ROOT"
1111
default "../.."
1212

13-
config $PKGS_DIR
13+
config PKGS_DIR
1414
string
1515
option env="PKGS_ROOT"
1616
default "packages"

0 commit comments

Comments
 (0)