Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 23 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
### Summary of this Pull Request (PR) 拉取/合并请求的简述
## 拉取/合并请求描述:(PR description)

**Add description here.** **请在这里加入描述**
[
这段方括号里的内容是您必须填写并替换掉的,否则PR不可能被合并。方括号外面的内容不需要修改,但请仔细阅读。
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.

### Intent for your PR 拉取/合并请求的目的
请在这里填写您的PR描述,可以包括以下之一的内容:为什么提交这份PR;解决的问题是什么,你的解决方案是什么;
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;

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

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

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

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

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

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

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

### Testing:代码测试

I've tested the code using the following test programs (provide list here):
我已经在如下场合跑过对应的测试:

- [ ] application 1
- [ ] application 2
- [ ] ...(add others here)
- [ ] 已经仔细查看过代码改动的对比 Already check the difference between PR and old code
- [ ] 代码风格正确,包括缩进空格,命名及其他风格 Style guide is adhered to, including spacing, naming and other style
- [ ] 没有垃圾代码,代码尽量精简,不包含`#if 0`代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up
- [ ] 所有变更均有原因及合理的,并且不会影响到其他软件组件代码或BSP All modifications are justified and not affect other components or BSP
- [ ] 对难懂代码均提供对应的注释 I've commented appropriately where code is tricky
- [ ] 本拉取/合并请求代码是高质量的 Code in this PR is of high quality
20 changes: 19 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,25 @@ env:
- RTT_BSP='stm32f429-disco' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32l475-iot-disco' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32l476-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32h743-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32h743-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f091-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f103-atk-nano' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f103-dofly-lyc8' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f103-fire-arbitrary' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f103-hw100k-ibox' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f407-atk-explorer' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f407-st-discovery' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f411-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f429-armfly-v6' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f429-atk-apollo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f429-fire-challenger' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f446-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f746-st-disco' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f767-atk-apollo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f767-fire-challenger' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f767-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32l432-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32l475-atk-pandora' RTT_TOOL_CHAIN='sourcery-arm'
# - RTT_BSP='taihu' RTT_TOOL_CHAIN='sourcery-ppc'
# - RTT_BSP='upd70f3454' # iar
# - RTT_BSP='x86' # x86
Expand Down
6 changes: 3 additions & 3 deletions bsp/allwinner_tina/Kconfig
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

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

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
Expand Down
8 changes: 4 additions & 4 deletions bsp/amebaz/Kconfig
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

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

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"

config $ENV_DIR
config ENV_DIR
string
option env="ENV_ROOT"
default "/"
Expand Down
2 changes: 1 addition & 1 deletion bsp/amebaz/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
if rtconfig.PLATFORM == 'iar':
env.Replace(CCCOM = ['$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
env.Replace(LINKCOM = env["LINKCOM"] + ' --map project.map')

Export('RTT_ROOT')
Export('rtconfig')
Expand Down
6 changes: 3 additions & 3 deletions bsp/asm9260t/Kconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
Expand Down
6 changes: 3 additions & 3 deletions bsp/at91sam9260/Kconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
Expand Down
8 changes: 4 additions & 4 deletions bsp/beaglebone/Kconfig
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

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

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"

config $ENV_DIR
config ENV_DIR
string
option env="ENV_ROOT"
default "/"
Expand Down
6 changes: 3 additions & 3 deletions bsp/ck802/Kconfig
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

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

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
Expand Down
6 changes: 3 additions & 3 deletions bsp/dm365/Kconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
Expand Down
6 changes: 3 additions & 3 deletions bsp/gd32303e-eval/Kconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
Expand Down
2 changes: 1 addition & 1 deletion bsp/gd32303e-eval/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
if rtconfig.PLATFORM == 'iar':
env.Replace(CCCOM = ['$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
env.Replace(LINKCOM = env["LINKCOM"] + ' --map project.map')

Export('RTT_ROOT')
Export('rtconfig')
Expand Down
8 changes: 4 additions & 4 deletions bsp/gd32450z-eval/Kconfig
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default: "../.."
default "../.."

# you can change the RTT_ROOT default: "rt-thread"
# example : default "F:/git_repositories/rt-thread"

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
Expand Down
2 changes: 1 addition & 1 deletion bsp/gd32450z-eval/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
if rtconfig.PLATFORM == 'iar':
env.Replace(CCCOM = ['$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
env.Replace(LINKCOM = env["LINKCOM"] + ' --map project.map')

Export('RTT_ROOT')
Export('rtconfig')
Expand Down
6 changes: 3 additions & 3 deletions bsp/gkipc/Kconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
Expand Down
6 changes: 3 additions & 3 deletions bsp/hifive1/Kconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
Expand Down
8 changes: 4 additions & 4 deletions bsp/imx6sx/cortex-a9/Kconfig
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
mainmenu "RT-Thread Configuration"

config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."

config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../../.."

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

config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"

config $ENV_DIR
config ENV_DIR
string
option env="ENV_ROOT"
default "/"
Expand Down
Loading