Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2301_76519099
rt-thread
提交
7d8cfef8
R
rt-thread
项目概览
2301_76519099
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
3
Star
1
Fork
1
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
7d8cfef8
编写于
9月 09, 2021
作者:
Z
ze9hyr
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除driver中的led相应文件改成直接使用pin操作
上级
0c25d7c8
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
179 addition
and
300 deletion
+179
-300
bsp/acm32f0x0-nucleo/applications/main.c
bsp/acm32f0x0-nucleo/applications/main.c
+6
-21
bsp/acm32f0x0-nucleo/drivers/board.h
bsp/acm32f0x0-nucleo/drivers/board.h
+0
-1
bsp/acm32f0x0-nucleo/drivers/led.c
bsp/acm32f0x0-nucleo/drivers/led.c
+0
-67
bsp/acm32f0x0-nucleo/drivers/led.h
bsp/acm32f0x0-nucleo/drivers/led.h
+0
-21
bsp/acm32f0x0-nucleo/project.uvoptx
bsp/acm32f0x0-nucleo/project.uvoptx
+105
-117
bsp/acm32f0x0-nucleo/project.uvprojx
bsp/acm32f0x0-nucleo/project.uvprojx
+68
-73
未找到文件。
bsp/acm32f0x0-nucleo/applications/main.c
浏览文件 @
7d8cfef8
...
...
@@ -11,34 +11,19 @@
#include <rthw.h>
#include <rtthread.h>
#include "board.h"
#include <drivers/pin.h>
/*******************************************************************************
* Function Name : assert_failed
* Description : Reports the name of the source file and the source line number
* where the assert error has occurred.
* Input : - file: pointer to the source file name
* - line: assert error line source number
* Output : None
* Return : None
*******************************************************************************/
void
assert_failed
(
uint8_t
*
file
,
uint32_t
line
)
{
rt_kprintf
(
"
\n\r
Wrong parameter value detected on
\r\n
"
);
rt_kprintf
(
" file %s
\r\n
"
,
file
);
rt_kprintf
(
" line %d
\r\n
"
,
line
);
while
(
1
)
;
}
#define LED_PIN_NUM 1
/* PA1 */
int
main
(
void
)
{
rt_hw_led_init
();
rt_pin_mode
(
LED_PIN_NUM
,
PIN_MODE_OUTPUT
);
while
(
1
)
{
rt_
hw_led_on
(
0
);
rt_
pin_write
(
LED_PIN_NUM
,
PIN_LOW
);
rt_thread_delay
(
RT_TICK_PER_SECOND
/
2
);
rt_
hw_led_off
(
0
);
rt_
pin_write
(
LED_PIN_NUM
,
PIN_HIGH
);
rt_thread_delay
(
RT_TICK_PER_SECOND
/
2
);
}
}
...
...
bsp/acm32f0x0-nucleo/drivers/board.h
浏览文件 @
7d8cfef8
...
...
@@ -13,7 +13,6 @@
#include <rtconfig.h>
#include "ACM32Fxx_HAL.h"
#include "led.h"
/*-------------------------- UART CONFIG BEGIN --------------------------*/
...
...
bsp/acm32f0x0-nucleo/drivers/led.c
已删除
100644 → 0
浏览文件 @
0c25d7c8
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-08-23 AisinoChip first implementation
*/
#include <rtthread.h>
#include "board.h"
#define led1_gpio GPIOA
#define led1_pin (GPIO_PIN_1)
void
rt_hw_led_init
(
void
)
{
GPIO_InitTypeDef
GPIO_Handle
;
GPIO_Handle
.
Mode
=
GPIO_MODE_OUTPUT_PP
;
GPIO_Handle
.
Pull
=
GPIO_PULLUP
;
GPIO_Handle
.
Alternate
=
GPIO_FUNCTION_0
;
GPIO_Handle
.
Pin
=
led1_pin
;
HAL_GPIO_Init
(
led1_gpio
,
&
GPIO_Handle
);
}
void
rt_hw_led_on
(
rt_uint32_t
n
)
{
switch
(
n
)
{
case
0
:
HAL_GPIO_WritePin
(
led1_gpio
,
led1_pin
,
GPIO_PIN_SET
);
break
;
default:
break
;
}
}
void
rt_hw_led_off
(
rt_uint32_t
n
)
{
switch
(
n
)
{
case
0
:
HAL_GPIO_WritePin
(
led1_gpio
,
led1_pin
,
GPIO_PIN_CLEAR
);
break
;
default:
break
;
}
}
void
rt_hw_led_toggle
(
rt_uint32_t
n
)
{
static
rt_bool_t
stat
=
RT_TRUE
;
if
(
stat
==
RT_TRUE
)
{
rt_hw_led_on
(
n
);
stat
=
RT_FALSE
;
}
else
{
rt_hw_led_off
(
n
);
stat
=
RT_TRUE
;
}
}
bsp/acm32f0x0-nucleo/drivers/led.h
已删除
100644 → 0
浏览文件 @
0c25d7c8
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-08-25 AisinoChip the first version
*/
#ifndef __LED_H__
#define __LED_H__
#include <rtthread.h>
void
rt_hw_led_init
(
void
);
void
rt_hw_led_on
(
rt_uint32_t
led
);
void
rt_hw_led_off
(
rt_uint32_t
led
);
void
rt_hw_led_toggle
(
rt_uint32_t
led
);
#endif
bsp/acm32f0x0-nucleo/project.uvoptx
浏览文件 @
7d8cfef8
...
...
@@ -73,7 +73,7 @@
<LExpSel>
0
</LExpSel>
</OPTXL>
<OPTFL>
<tvExp>
1
</tvExp>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<IsCurrentTarget>
1
</IsCurrentTarget>
</OPTFL>
...
...
@@ -181,7 +181,7 @@
<Group>
<GroupName>
ACM32_HAL
</GroupName>
<tvExp>
1
</tvExp>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
...
...
@@ -204,8 +204,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
libraries\HAL_Driver\Src\HAL_U
art
.c
</PathWithFileName>
<FilenameWithoutPath>
HAL_U
art
.c
</FilenameWithoutPath>
<PathWithFileName>
libraries\HAL_Driver\Src\HAL_U
ART
.c
</PathWithFileName>
<FilenameWithoutPath>
HAL_U
ART
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -309,7 +309,7 @@
<Group>
<GroupName>
Applications
</GroupName>
<tvExp>
1
</tvExp>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
...
...
@@ -340,8 +340,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\libcpu\arm\common\
backtrace
.c
</PathWithFileName>
<FilenameWithoutPath>
backtrace
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\libcpu\arm\common\
div0
.c
</PathWithFileName>
<FilenameWithoutPath>
div0
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -352,8 +352,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\libcpu\arm\common\
div0
.c
</PathWithFileName>
<FilenameWithoutPath>
div0
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\libcpu\arm\common\
backtrace
.c
</PathWithFileName>
<FilenameWithoutPath>
backtrace
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -372,24 +372,24 @@
<File>
<GroupNumber>
3
</GroupNumber>
<FileNumber>
15
</FileNumber>
<FileType>
1
</FileType>
<FileType>
2
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\libcpu\arm\cortex-m0\c
puport.c
</PathWithFileName>
<FilenameWithoutPath>
c
puport.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\libcpu\arm\cortex-m0\c
ontext_rvds.S
</PathWithFileName>
<FilenameWithoutPath>
c
ontext_rvds.S
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
3
</GroupNumber>
<FileNumber>
16
</FileNumber>
<FileType>
2
</FileType>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\libcpu\arm\cortex-m0\c
ontext_rvds.S
</PathWithFileName>
<FilenameWithoutPath>
c
ontext_rvds.S
</FilenameWithoutPath>
<PathWithFileName>
..\..\libcpu\arm\cortex-m0\c
puport.c
</PathWithFileName>
<FilenameWithoutPath>
c
puport.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -456,8 +456,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\drivers\src\w
ait
queue.c
</PathWithFileName>
<FilenameWithoutPath>
w
ait
queue.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\components\drivers\src\w
ork
queue.c
</PathWithFileName>
<FilenameWithoutPath>
w
ork
queue.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -468,8 +468,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\drivers\src\
workqueue
.c
</PathWithFileName>
<FilenameWithoutPath>
workqueue
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\components\drivers\src\
completion
.c
</PathWithFileName>
<FilenameWithoutPath>
completion
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -480,8 +480,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\drivers\src\
ringbuffer
.c
</PathWithFileName>
<FilenameWithoutPath>
ringbuffer
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\components\drivers\src\
waitqueue
.c
</PathWithFileName>
<FilenameWithoutPath>
waitqueue
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -492,8 +492,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\drivers\src\
dataqueue
.c
</PathWithFileName>
<FilenameWithoutPath>
dataqueue
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\components\drivers\src\
ringblk_buf
.c
</PathWithFileName>
<FilenameWithoutPath>
ringblk_buf
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -504,8 +504,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\drivers\src\
pip
e.c
</PathWithFileName>
<FilenameWithoutPath>
pip
e.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\components\drivers\src\
dataqueu
e.c
</PathWithFileName>
<FilenameWithoutPath>
dataqueu
e.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -516,8 +516,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\drivers\src\
completion
.c
</PathWithFileName>
<FilenameWithoutPath>
completion
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\components\drivers\src\
ringbuffer
.c
</PathWithFileName>
<FilenameWithoutPath>
ringbuffer
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -528,8 +528,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\drivers\src\
ringblk_buf
.c
</PathWithFileName>
<FilenameWithoutPath>
ringblk_buf
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\components\drivers\src\
pipe
.c
</PathWithFileName>
<FilenameWithoutPath>
pipe
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -549,7 +549,7 @@
<Group>
<GroupName>
Drivers
</GroupName>
<tvExp>
1
</tvExp>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
...
...
@@ -560,8 +560,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
drivers\
drv_gpio
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_gpio
.c
</FilenameWithoutPath>
<PathWithFileName>
drivers\
board
.c
</PathWithFileName>
<FilenameWithoutPath>
board
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -572,8 +572,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
drivers\
board
.c
</PathWithFileName>
<FilenameWithoutPath>
board
.c
</FilenameWithoutPath>
<PathWithFileName>
drivers\
drv_wdt
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_wdt
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -584,8 +584,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
drivers\drv_
adc
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_
adc
.c
</FilenameWithoutPath>
<PathWithFileName>
drivers\drv_
hwtimer
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_
hwtimer
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -608,8 +608,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
drivers\drv_
hwtimer
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_
hwtimer
.c
</FilenameWithoutPath>
<PathWithFileName>
drivers\drv_
adc
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_
adc
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -620,20 +620,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
drivers\led.c
</PathWithFileName>
<FilenameWithoutPath>
led.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
35
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
drivers\drv_wdt.c
</PathWithFileName>
<FilenameWithoutPath>
drv_wdt.c
</FilenameWithoutPath>
<PathWithFileName>
drivers\drv_gpio.c
</PathWithFileName>
<FilenameWithoutPath>
drv_gpio.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -647,7 +635,7 @@
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
3
6
</FileNumber>
<FileNumber>
3
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -659,7 +647,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
3
7
</FileNumber>
<FileNumber>
3
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -671,7 +659,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
3
8
</FileNumber>
<FileNumber>
3
7
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -683,7 +671,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
3
9
</FileNumber>
<FileNumber>
3
8
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -695,7 +683,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
40
</FileNumber>
<FileNumber>
39
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -707,19 +695,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
41
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\finsh\finsh_token.c
</PathWithFileName>
<FilenameWithoutPath>
finsh_token.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
42
</FileNumber>
<FileNumber>
40
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -731,7 +707,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
4
3
</FileNumber>
<FileNumber>
4
1
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -743,7 +719,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
4
4
</FileNumber>
<FileNumber>
4
2
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -755,7 +731,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
4
5
</FileNumber>
<FileNumber>
4
3
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -767,7 +743,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
4
6
</FileNumber>
<FileNumber>
4
4
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -779,19 +755,19 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
4
7
</FileNumber>
<FileNumber>
4
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\finsh\
msh
.c
</PathWithFileName>
<FilenameWithoutPath>
msh
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\components\finsh\
finsh_token
.c
</PathWithFileName>
<FilenameWithoutPath>
finsh_token
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
4
8
</FileNumber>
<FileNumber>
4
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -801,6 +777,18 @@
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
47
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\components\finsh\msh.c
</PathWithFileName>
<FilenameWithoutPath>
msh.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
</Group>
<Group>
...
...
@@ -809,6 +797,18 @@
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
48
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\components.c
</PathWithFileName>
<FilenameWithoutPath>
components.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
49
</FileNumber>
...
...
@@ -816,8 +816,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\
schedul
er.c
</PathWithFileName>
<FilenameWithoutPath>
schedul
er.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\
tim
er.c
</PathWithFileName>
<FilenameWithoutPath>
tim
er.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -840,8 +840,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\i
rq
.c
</PathWithFileName>
<FilenameWithoutPath>
i
rq
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\i
dle
.c
</PathWithFileName>
<FilenameWithoutPath>
i
dle
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -852,8 +852,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\
device
.c
</PathWithFileName>
<FilenameWithoutPath>
device
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\
scheduler
.c
</PathWithFileName>
<FilenameWithoutPath>
scheduler
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -864,8 +864,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\t
imer
.c
</PathWithFileName>
<FilenameWithoutPath>
t
imer
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\t
hread
.c
</PathWithFileName>
<FilenameWithoutPath>
t
hread
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -876,8 +876,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\
mempool
.c
</PathWithFileName>
<FilenameWithoutPath>
mempool
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\
irq
.c
</PathWithFileName>
<FilenameWithoutPath>
irq
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -888,8 +888,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\
clock
.c
</PathWithFileName>
<FilenameWithoutPath>
clock
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\
object
.c
</PathWithFileName>
<FilenameWithoutPath>
object
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -900,8 +900,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\
components
.c
</PathWithFileName>
<FilenameWithoutPath>
components
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\
kservice
.c
</PathWithFileName>
<FilenameWithoutPath>
kservice
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -912,8 +912,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\mem.c
</PathWithFileName>
<FilenameWithoutPath>
mem.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\mem
pool
.c
</PathWithFileName>
<FilenameWithoutPath>
mem
pool
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -924,8 +924,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\
thread
.c
</PathWithFileName>
<FilenameWithoutPath>
thread
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\
mem
.c
</PathWithFileName>
<FilenameWithoutPath>
mem
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -936,8 +936,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\
kservice
.c
</PathWithFileName>
<FilenameWithoutPath>
kservice
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\
clock
.c
</PathWithFileName>
<FilenameWithoutPath>
clock
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -948,20 +948,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\idle.c
</PathWithFileName>
<FilenameWithoutPath>
idle.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
61
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\src\object.c
</PathWithFileName>
<FilenameWithoutPath>
object.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\src\device.c
</PathWithFileName>
<FilenameWithoutPath>
device.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -975,7 +963,7 @@
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
2
</FileNumber>
<FileNumber>
6
1
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -987,7 +975,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
3
</FileNumber>
<FileNumber>
6
2
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -999,7 +987,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
4
</FileNumber>
<FileNumber>
6
3
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1011,7 +999,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
5
</FileNumber>
<FileNumber>
6
4
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1023,7 +1011,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
6
</FileNumber>
<FileNumber>
6
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
bsp/acm32f0x0-nucleo/project.uvprojx
浏览文件 @
7d8cfef8
...
...
@@ -389,9 +389,9 @@
<FilePath>
libraries\HAL_Driver\Src\HAL_IWDT.c
</FilePath>
</File>
<File>
<FileName>
HAL_U
art
.c
</FileName>
<FileName>
HAL_U
ART
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
libraries\HAL_Driver\Src\HAL_U
art
.c
</FilePath>
<FilePath>
libraries\HAL_Driver\Src\HAL_U
ART
.c
</FilePath>
</File>
<File>
<FileName>
HAL_EXTI.c
</FileName>
...
...
@@ -448,31 +448,31 @@
<Group>
<GroupName>
CPU
</GroupName>
<Files>
<File>
<FileName>
backtrace.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\libcpu\arm\common\backtrace.c
</FilePath>
</File>
<File>
<FileName>
div0.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\libcpu\arm\common\div0.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>
cpuport
.c
</FileName>
<FileName>
showmem
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\libcpu\arm\co
rtex-m0\cpuport
.c
</FilePath>
<FilePath>
..\..\libcpu\arm\co
mmon\showmem
.c
</FilePath>
</File>
<File>
<FileName>
context_rvds.S
</FileName>
<FileType>
2
</FileType>
<FilePath>
..\..\libcpu\arm\cortex-m0\context_rvds.S
</FilePath>
</File>
<File>
<FileName>
cpuport.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\libcpu\arm\cortex-m0\cpuport.c
</FilePath>
</File>
</Files>
</Group>
<Group>
...
...
@@ -499,39 +499,39 @@
<FilePath>
..\..\components\drivers\serial\serial.c
</FilePath>
</File>
<File>
<FileName>
w
ait
queue.c
</FileName>
<FileName>
w
ork
queue.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\w
ait
queue.c
</FilePath>
<FilePath>
..\..\components\drivers\src\w
ork
queue.c
</FilePath>
</File>
<File>
<FileName>
workqueue
.c
</FileName>
<FileName>
completion
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\
workqueue
.c
</FilePath>
<FilePath>
..\..\components\drivers\src\
completion
.c
</FilePath>
</File>
<File>
<FileName>
ringbuffer
.c
</FileName>
<FileName>
waitqueue
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\
ringbuffer
.c
</FilePath>
<FilePath>
..\..\components\drivers\src\
waitqueue
.c
</FilePath>
</File>
<File>
<FileName>
dataqueue
.c
</FileName>
<FileName>
ringblk_buf
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\
dataqueue
.c
</FilePath>
<FilePath>
..\..\components\drivers\src\
ringblk_buf
.c
</FilePath>
</File>
<File>
<FileName>
pip
e.c
</FileName>
<FileName>
dataqueu
e.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\
pip
e.c
</FilePath>
<FilePath>
..\..\components\drivers\src\
dataqueu
e.c
</FilePath>
</File>
<File>
<FileName>
completion
.c
</FileName>
<FileName>
ringbuffer
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\
completion
.c
</FilePath>
<FilePath>
..\..\components\drivers\src\
ringbuffer
.c
</FilePath>
</File>
<File>
<FileName>
ringblk_buf
.c
</FileName>
<FileName>
pipe
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\drivers\src\
ringblk_buf
.c
</FilePath>
<FilePath>
..\..\components\drivers\src\
pipe
.c
</FilePath>
</File>
<File>
<FileName>
watchdog.c
</FileName>
...
...
@@ -543,40 +543,35 @@
<Group>
<GroupName>
Drivers
</GroupName>
<Files>
<File>
<FileName>
drv_gpio.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
drivers\drv_gpio.c
</FilePath>
</File>
<File>
<FileName>
board.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
drivers\board.c
</FilePath>
</File>
<File>
<FileName>
drv_
adc
.c
</FileName>
<FileName>
drv_
wdt
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
drivers\drv_
adc
.c
</FilePath>
<FilePath>
drivers\drv_
wdt
.c
</FilePath>
</File>
<File>
<FileName>
drv_
uart
.c
</FileName>
<FileName>
drv_
hwtimer
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
drivers\drv_
uart
.c
</FilePath>
<FilePath>
drivers\drv_
hwtimer
.c
</FilePath>
</File>
<File>
<FileName>
drv_
hwtimer
.c
</FileName>
<FileName>
drv_
uart
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
drivers\drv_
hwtimer
.c
</FilePath>
<FilePath>
drivers\drv_
uart
.c
</FilePath>
</File>
<File>
<FileName>
led
.c
</FileName>
<FileName>
drv_adc
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
drivers\
led
.c
</FilePath>
<FilePath>
drivers\
drv_adc
.c
</FilePath>
</File>
<File>
<FileName>
drv_
wdt
.c
</FileName>
<FileName>
drv_
gpio
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
drivers\drv_
wdt
.c
</FilePath>
<FilePath>
drivers\drv_
gpio
.c
</FilePath>
</File>
</Files>
</Group>
...
...
@@ -608,11 +603,6 @@
<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>
...
...
@@ -639,84 +629,89 @@
<FilePath>
..\..\components\finsh\finsh_error.c
</FilePath>
</File>
<File>
<FileName>
msh
.c
</FileName>
<FileName>
finsh_token
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\
msh
.c
</FilePath>
<FilePath>
..\..\components\finsh\
finsh_token
.c
</FilePath>
</File>
<File>
<FileName>
finsh_init.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\finsh_init.c
</FilePath>
</File>
<File>
<FileName>
msh.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\finsh\msh.c
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
Kernel
</GroupName>
<Files>
<File>
<FileName>
scheduler
.c
</FileName>
<FileName>
components
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
scheduler
.c
</FilePath>
<FilePath>
..\..\src\
components
.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>
i
rq
.c
</FileName>
<FileName>
i
pc
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\i
rq
.c
</FilePath>
<FilePath>
..\..\src\i
pc
.c
</FilePath>
</File>
<File>
<FileName>
devic
e.c
</FileName>
<FileName>
idl
e.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
devic
e.c
</FilePath>
<FilePath>
..\..\src\
idl
e.c
</FilePath>
</File>
<File>
<FileName>
tim
er.c
</FileName>
<FileName>
schedul
er.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
tim
er.c
</FilePath>
<FilePath>
..\..\src\
schedul
er.c
</FilePath>
</File>
<File>
<FileName>
mempool
.c
</FileName>
<FileName>
thread
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
mempool
.c
</FilePath>
<FilePath>
..\..\src\
thread
.c
</FilePath>
</File>
<File>
<FileName>
clock
.c
</FileName>
<FileName>
irq
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
clock
.c
</FilePath>
<FilePath>
..\..\src\
irq
.c
</FilePath>
</File>
<File>
<FileName>
components
.c
</FileName>
<FileName>
object
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
components
.c
</FilePath>
<FilePath>
..\..\src\
object
.c
</FilePath>
</File>
<File>
<FileName>
mem
.c
</FileName>
<FileName>
kservice
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
mem
.c
</FilePath>
<FilePath>
..\..\src\
kservice
.c
</FilePath>
</File>
<File>
<FileName>
thread
.c
</FileName>
<FileName>
mempool
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
thread
.c
</FilePath>
<FilePath>
..\..\src\
mempool
.c
</FilePath>
</File>
<File>
<FileName>
kservice
.c
</FileName>
<FileName>
mem
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
kservice
.c
</FilePath>
<FilePath>
..\..\src\
mem
.c
</FilePath>
</File>
<File>
<FileName>
idle
.c
</FileName>
<FileName>
clock
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
idle
.c
</FilePath>
<FilePath>
..\..\src\
clock
.c
</FilePath>
</File>
<File>
<FileName>
object
.c
</FileName>
<FileName>
device
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\
object
.c
</FilePath>
<FilePath>
..\..\src\
device
.c
</FilePath>
</File>
</Files>
</Group>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录