Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
在你之后
rt-thread
提交
85e81c4d
R
rt-thread
项目概览
在你之后
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
2
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,发现更多精彩内容 >>
未验证
提交
85e81c4d
编写于
3月 31, 2021
作者:
B
Bernard Xiong
提交者:
GitHub
3月 31, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #4461 from mysterywolf/at32
[at32] auto formatted
上级
6bb07da6
1a6e3489
变更
35
显示空白变更内容
内联
并排
Showing
35 changed file
with
322 addition
and
322 deletion
+322
-322
bsp/at32/Libraries/rt_drivers/drv_adc.c
bsp/at32/Libraries/rt_drivers/drv_adc.c
+11
-11
bsp/at32/Libraries/rt_drivers/drv_adc.h
bsp/at32/Libraries/rt_drivers/drv_adc.h
+10
-10
bsp/at32/Libraries/rt_drivers/drv_can.c
bsp/at32/Libraries/rt_drivers/drv_can.c
+4
-4
bsp/at32/Libraries/rt_drivers/drv_can.h
bsp/at32/Libraries/rt_drivers/drv_can.h
+2
-2
bsp/at32/Libraries/rt_drivers/drv_eth.c
bsp/at32/Libraries/rt_drivers/drv_eth.c
+33
-33
bsp/at32/Libraries/rt_drivers/drv_eth.h
bsp/at32/Libraries/rt_drivers/drv_eth.h
+1
-1
bsp/at32/Libraries/rt_drivers/drv_flash.c
bsp/at32/Libraries/rt_drivers/drv_flash.c
+6
-6
bsp/at32/Libraries/rt_drivers/drv_flash.h
bsp/at32/Libraries/rt_drivers/drv_flash.h
+1
-1
bsp/at32/Libraries/rt_drivers/drv_gpio.c
bsp/at32/Libraries/rt_drivers/drv_gpio.c
+7
-7
bsp/at32/Libraries/rt_drivers/drv_gpio.h
bsp/at32/Libraries/rt_drivers/drv_gpio.h
+1
-1
bsp/at32/Libraries/rt_drivers/drv_hwtimer.c
bsp/at32/Libraries/rt_drivers/drv_hwtimer.c
+57
-57
bsp/at32/Libraries/rt_drivers/drv_hwtimer.h
bsp/at32/Libraries/rt_drivers/drv_hwtimer.h
+12
-12
bsp/at32/Libraries/rt_drivers/drv_log.h
bsp/at32/Libraries/rt_drivers/drv_log.h
+1
-1
bsp/at32/Libraries/rt_drivers/drv_pwm.c
bsp/at32/Libraries/rt_drivers/drv_pwm.c
+26
-26
bsp/at32/Libraries/rt_drivers/drv_pwm.h
bsp/at32/Libraries/rt_drivers/drv_pwm.h
+8
-8
bsp/at32/Libraries/rt_drivers/drv_rtc.c
bsp/at32/Libraries/rt_drivers/drv_rtc.c
+7
-7
bsp/at32/Libraries/rt_drivers/drv_sdio.c
bsp/at32/Libraries/rt_drivers/drv_sdio.c
+1
-1
bsp/at32/Libraries/rt_drivers/drv_sdio.h
bsp/at32/Libraries/rt_drivers/drv_sdio.h
+1
-1
bsp/at32/Libraries/rt_drivers/drv_soft_i2c.c
bsp/at32/Libraries/rt_drivers/drv_soft_i2c.c
+4
-4
bsp/at32/Libraries/rt_drivers/drv_soft_i2c.h
bsp/at32/Libraries/rt_drivers/drv_soft_i2c.h
+4
-4
bsp/at32/Libraries/rt_drivers/drv_spi.c
bsp/at32/Libraries/rt_drivers/drv_spi.c
+20
-20
bsp/at32/Libraries/rt_drivers/drv_spi.h
bsp/at32/Libraries/rt_drivers/drv_spi.h
+1
-1
bsp/at32/Libraries/rt_drivers/drv_sram.c
bsp/at32/Libraries/rt_drivers/drv_sram.c
+21
-21
bsp/at32/Libraries/rt_drivers/drv_sram.h
bsp/at32/Libraries/rt_drivers/drv_sram.h
+1
-1
bsp/at32/Libraries/rt_drivers/drv_usart.c
bsp/at32/Libraries/rt_drivers/drv_usart.c
+2
-2
bsp/at32/Libraries/rt_drivers/drv_usart.h
bsp/at32/Libraries/rt_drivers/drv_usart.h
+1
-1
bsp/at32/Libraries/rt_drivers/drv_wdt.c
bsp/at32/Libraries/rt_drivers/drv_wdt.c
+1
-1
bsp/at32/at32f403a-start/applications/main.c
bsp/at32/at32f403a-start/applications/main.c
+1
-1
bsp/at32/at32f403a-start/board/board.c
bsp/at32/at32f403a-start/board/board.c
+2
-2
bsp/at32/at32f403a-start/board/board.h
bsp/at32/at32f403a-start/board/board.h
+1
-1
bsp/at32/at32f403a-start/board/msp/at32_msp.c
bsp/at32/at32f403a-start/board/msp/at32_msp.c
+10
-10
bsp/at32/at32f403a-start/board/msp/system_at32f4xx.c
bsp/at32/at32f403a-start/board/msp/system_at32f4xx.c
+60
-60
bsp/at32/at32f407-start/applications/main.c
bsp/at32/at32f407-start/applications/main.c
+1
-1
bsp/at32/at32f407-start/board/board.c
bsp/at32/at32f407-start/board/board.c
+2
-2
bsp/at32/at32f407-start/board/board.h
bsp/at32/at32f407-start/board/board.h
+1
-1
未找到文件。
bsp/at32/Libraries/rt_drivers/drv_adc.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_adc.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_can.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_can.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_eth.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_eth.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_flash.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_flash.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_gpio.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_gpio.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_hwtimer.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_hwtimer.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_log.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_pwm.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_pwm.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_rtc.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_sdio.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_sdio.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_soft_i2c.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_soft_i2c.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_spi.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_spi.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_sram.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_sram.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_usart.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-202
0
, RT-Thread Development Team
* Copyright (c) 2006-202
1
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
@@ -15,7 +15,7 @@
#if !defined(BSP_USING_UART1) && !defined(BSP_USING_UART2) && \
!defined(BSP_USING_UART3)
#error "Please define at least one BSP_USING_UARTx"
/* this driver can be disabled at menuconfig
RT-Thread Components
Device Drivers */
/* this driver can be disabled at menuconfig
→ RT-Thread Components →
Device Drivers */
#endif
struct
at32_usart
{
...
...
bsp/at32/Libraries/rt_drivers/drv_usart.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/Libraries/rt_drivers/drv_wdt.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/at32f403a-start/applications/main.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/at32f403a-start/board/board.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/at32f403a-start/board/board.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/at32f403a-start/board/msp/at32_msp.c
浏览文件 @
85e81c4d
bsp/at32/at32f403a-start/board/msp/system_at32f4xx.c
浏览文件 @
85e81c4d
bsp/at32/at32f407-start/applications/main.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/at32f407-start/board/board.c
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/at32/at32f407-start/board/board.h
浏览文件 @
85e81c4d
/*
* Copyright (c) 2006-20
18
, RT-Thread Development Team
* Copyright (c) 2006-20
21
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录