Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
c00507f4
R
rt-thread
项目概览
BaiXuePrincess
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c00507f4
编写于
9月 06, 2021
作者:
G
GoldBr1987
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改格式错误
上级
1d895781
变更
14
展开全部
隐藏空白更改
内联
并排
Showing
14 changed file
with
149 addition
and
337 deletion
+149
-337
bsp/hc32f460/.ignore_format.yml
bsp/hc32f460/.ignore_format.yml
+1
-1
bsp/hc32f460/applications/main.c
bsp/hc32f460/applications/main.c
+3
-3
bsp/hc32f460/board/board.c
bsp/hc32f460/board/board.c
+1
-1
bsp/hc32f460/board/board.h
bsp/hc32f460/board/board.h
+1
-1
bsp/hc32f460/board/board_config.c
bsp/hc32f460/board/board_config.c
+1
-1
bsp/hc32f460/board/board_config.h
bsp/hc32f460/board/board_config.h
+1
-1
bsp/hc32f460/drivers/drv_gpio.c
bsp/hc32f460/drivers/drv_gpio.c
+2
-2
bsp/hc32f460/drivers/drv_gpio.h
bsp/hc32f460/drivers/drv_gpio.h
+2
-3
bsp/hc32f460/drivers/drv_irq.c
bsp/hc32f460/drivers/drv_irq.c
+1
-1
bsp/hc32f460/drivers/drv_irq.h
bsp/hc32f460/drivers/drv_irq.h
+1
-1
bsp/hc32f460/drivers/drv_usart.c
bsp/hc32f460/drivers/drv_usart.c
+1
-1
bsp/hc32f460/drivers/drv_usart.h
bsp/hc32f460/drivers/drv_usart.h
+1
-1
bsp/hc32f460/project.uvoptx
bsp/hc32f460/project.uvoptx
+88
-220
bsp/hc32f460/project.uvprojx
bsp/hc32f460/project.uvprojx
+45
-100
未找到文件。
bsp/hc32f460/.ignore_format.yml
浏览文件 @
c00507f4
...
...
@@ -5,4 +5,4 @@
file_path
:
dir_path
:
-
Libraries
\ No newline at end of file
-
Libraries
bsp/hc32f460/applications/main.c
浏览文件 @
c00507f4
...
...
@@ -5,12 +5,12 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#include "
hc32_ddl
.h"
#include "
board
.h"
#include <rtthread.h>
#include <rtdevice.h>
#include "drv_gpio.h"
/* defined the LED1 pin: PE0 */
#define LED1_PIN GET_PIN(E,0)
...
...
bsp/hc32f460/board/board.c
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#include <rthw.h>
#include <rtthread.h>
...
...
bsp/hc32f460/board/board.h
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#ifndef __BOARD_H__
#define __BOARD_H__
...
...
bsp/hc32f460/board/board_config.c
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#include <rtdevice.h>
#include "board_config.h"
...
...
bsp/hc32f460/board/board_config.h
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#ifndef __BOARD_CONFIG_H__
#define __BOARD_CONFIG_H__
...
...
bsp/hc32f460/drivers/drv_gpio.c
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#include <rtthread.h>
...
...
@@ -484,5 +484,5 @@ int rt_hw_pin_init(void)
INIT_BOARD_EXPORT
(
rt_hw_pin_init
);
#endif
/* RT_USING_PIN */
#include "drv_gpio.h"
bsp/hc32f460/drivers/drv_gpio.h
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#ifndef __DRV_GPIO_H__
#define __DRV_GPIO_H__
...
...
@@ -146,6 +146,5 @@
#endif
/* EXINT15_IRQ_CONFIG */
#endif
extern
void
Led_Init
(
void
);
#endif
bsp/hc32f460/drivers/drv_irq.c
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#include <rtthread.h>
#include "drv_irq.h"
...
...
bsp/hc32f460/drivers/drv_irq.h
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#ifndef __DRV_IRQ_H__
...
...
bsp/hc32f460/drivers/drv_usart.c
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#include <rtdevice.h>
#include <rthw.h>
...
...
bsp/hc32f460/drivers/drv_usart.h
浏览文件 @
c00507f4
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2021-09-2 lizhengyang first version
* 2021-09-
0
2 lizhengyang first version
*/
#ifndef __DRV_USART_H__
#define __DRV_USART_H__
...
...
bsp/hc32f460/project.uvoptx
浏览文件 @
c00507f4
此差异已折叠。
点击以展开。
bsp/hc32f460/project.uvprojx
浏览文件 @
c00507f4
...
...
@@ -399,14 +399,14 @@
<FilePath>
..\..\libcpu\arm\common\div0.c
</FilePath>
</File>
<File>
<FileName>
backtrace
.c
</FileName>
<FileName>
showmem
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\libcpu\arm\common\
backtrace
.c
</FilePath>
<FilePath>
..\..\libcpu\arm\common\
showmem
.c
</FilePath>
</File>
<File>
<FileName>
showmem
.c
</FileName>
<FileName>
backtrace
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\libcpu\arm\common\
showmem
.c
</FilePath>
<FilePath>
..\..\libcpu\arm\common\
backtrace
.c
</FilePath>
</File>
<File>
<FileName>
context_rvds.S
</FileName>
...
...
@@ -438,16 +438,6 @@
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\ringbuffer.c
</FilePath>
</File>
<File>
<FileName>
dataqueue.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\dataqueue.c
</FilePath>
</File>
<File>
<FileName>
pipe.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\pipe.c
</FilePath>
</File>
<File>
<FileName>
workqueue.c
</FileName>
<FileType>
1
</FileType>
...
...
@@ -458,6 +448,11 @@
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\ringblk_buf.c
</FilePath>
</File>
<File>
<FileName>
pipe.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\pipe.c
</FilePath>
</File>
<File>
<FileName>
completion.c
</FileName>
<FileType>
1
</FileType>
...
...
@@ -468,6 +463,11 @@
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\waitqueue.c
</FilePath>
</File>
<File>
<FileName>
dataqueue.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\dataqueue.c
</FilePath>
</File>
</Files>
</Group>
<Group>
...
...
@@ -541,77 +541,22 @@
</Files>
</Group>
<Group>
<GroupName>
f
insh
</GroupName>
<GroupName>
F
insh
</GroupName>
<Files>
<File>
<FileName>
finsh_node.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_node.c
</FilePath>
</File>
<File>
<FileName>
finsh_parser.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_parser.c
</FilePath>
</File>
<File>
<FileName>
cmd.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\cmd.c
</FilePath>
</File>
<File>
<FileName>
finsh_vm.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_vm.c
</FilePath>
</File>
<File>
<FileName>
msh_file.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\msh_file.c
</FilePath>
</File>
<File>
<FileName>
shell.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\shell.c
</FilePath>
</File>
<File>
<FileName>
finsh_token.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_token.c
</FilePath>
</File>
<File>
<FileName>
finsh_var.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_var.c
</FilePath>
</File>
<File>
<FileName>
finsh_compiler.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_compiler.c
</FilePath>
</File>
<File>
<FileName>
finsh_heap.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_heap.c
</FilePath>
</File>
<File>
<FileName>
finsh_ops.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_ops.c
</FilePath>
</File>
<File>
<FileName>
finsh_error.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_error.c
</FilePath>
</File>
<File>
<FileName>
msh.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\msh.c
</FilePath>
</File>
<File>
<FileName>
finsh_init
.c
</FileName>
<FileName>
msh_file
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\
finsh_init
.c
</FilePath>
<FilePath>
..\..\components\finsh\
msh_file
.c
</FilePath>
</File>
</Files>
</Group>
...
...
@@ -689,14 +634,14 @@
<FilePath>
..\..\src\irq.c
</FilePath>
</File>
<File>
<FileName>
device
.c
</FileName>
<FileName>
ipc
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
device
.c
</FilePath>
<FilePath>
..\..\src\
ipc
.c
</FilePath>
</File>
<File>
<FileName>
mem
.c
</FileName>
<FileName>
clock
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
mem
.c
</FilePath>
<FilePath>
..\..\src\
clock
.c
</FilePath>
</File>
<File>
<FileName>
components.c
</FileName>
...
...
@@ -704,19 +649,14 @@
<FilePath>
..\..\src\components.c
</FilePath>
</File>
<File>
<FileName>
clock.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\clock.c
</FilePath>
</File>
<File>
<FileName>
mempool.c
</FileName>
<FileName>
idle.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
mempool
.c
</FilePath>
<FilePath>
..\..\src\
idle
.c
</FilePath>
</File>
<File>
<FileName>
t
imer
.c
</FileName>
<FileName>
t
hread
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\t
imer
.c
</FilePath>
<FilePath>
..\..\src\t
hread
.c
</FilePath>
</File>
<File>
<FileName>
kservice.c
</FileName>
...
...
@@ -734,25 +674,35 @@
<FilePath>
..\..\src\object.c
</FilePath>
</File>
<File>
<FileName>
idl
e.c
</FileName>
<FileName>
devic
e.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
idl
e.c
</FilePath>
<FilePath>
..\..\src\
devic
e.c
</FilePath>
</File>
<File>
<FileName>
ipc
.c
</FileName>
<FileName>
timer
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
ipc
.c
</FilePath>
<FilePath>
..\..\src\
timer
.c
</FilePath>
</File>
<File>
<FileName>
thread
.c
</FileName>
<FileName>
mem
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\thread.c
</FilePath>
<FilePath>
..\..\src\mem.c
</FilePath>
</File>
<File>
<FileName>
mempool.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\mempool.c
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
libc
</GroupName>
<Files>
<File>
<FileName>
libc.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\libc.c
</FilePath>
</File>
<File>
<FileName>
mem_std.c
</FileName>
<FileType>
1
</FileType>
...
...
@@ -763,20 +713,15 @@
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\stdio.c
</FilePath>
</File>
<File>
<FileName>
libc.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\libc.c
</FilePath>
</File>
<File>
<FileName>
syscalls.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\syscalls.c
</FilePath>
</File>
<File>
<FileName>
delay
.c
</FileName>
<FileName>
unistd
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\common\
delay
.c
</FilePath>
<FilePath>
..\..\components\libc\compilers\common\
unistd
.c
</FilePath>
</File>
<File>
<FileName>
stdlib.c
</FileName>
...
...
@@ -789,9 +734,9 @@
<FilePath>
..\..\components\libc\compilers\common\time.c
</FilePath>
</File>
<File>
<FileName>
unistd
.c
</FileName>
<FileName>
delay
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\common\
unistd
.c
</FilePath>
<FilePath>
..\..\components\libc\compilers\common\
delay
.c
</FilePath>
</File>
</Files>
</Group>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录