Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yunqingabc
rt-thread
提交
390c6352
R
rt-thread
项目概览
yunqingabc
/
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,发现更多精彩内容 >>
提交
390c6352
编写于
3月 28, 2021
作者:
mysterywolf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[stm32] remove 'count' variable in main()
上级
1ba020f3
变更
61
隐藏空白更改
内联
并排
Showing
61 changed file
with
71 addition
and
136 deletion
+71
-136
bsp/stm32/stm32f072-st-nucleo/applications/main.c
bsp/stm32/stm32f072-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32f091-st-nucleo/applications/main.c
bsp/stm32/stm32f091-st-nucleo/applications/main.c
+1
-3
bsp/stm32/stm32f103-atk-nano/applications/main.c
bsp/stm32/stm32f103-atk-nano/applications/main.c
+1
-2
bsp/stm32/stm32f103-atk-warshipv3/applications/main.c
bsp/stm32/stm32f103-atk-warshipv3/applications/main.c
+1
-2
bsp/stm32/stm32f103-blue-pill/applications/main.c
bsp/stm32/stm32f103-blue-pill/applications/main.c
+1
-2
bsp/stm32/stm32f103-dofly-M3S/applications/main.c
bsp/stm32/stm32f103-dofly-M3S/applications/main.c
+1
-2
bsp/stm32/stm32f103-dofly-lyc8/applications/main.c
bsp/stm32/stm32f103-dofly-lyc8/applications/main.c
+1
-2
bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
+1
-2
bsp/stm32/stm32f103-gizwits-gokitv21/applications/main.c
bsp/stm32/stm32f103-gizwits-gokitv21/applications/main.c
+1
-2
bsp/stm32/stm32f103-hw100k-ibox/applications/main.c
bsp/stm32/stm32f103-hw100k-ibox/applications/main.c
+1
-2
bsp/stm32/stm32f103-onenet-nbiot/applications/main.c
bsp/stm32/stm32f103-onenet-nbiot/applications/main.c
+1
-2
bsp/stm32/stm32f103-yf-ufun/applications/main.c
bsp/stm32/stm32f103-yf-ufun/applications/main.c
+1
-2
bsp/stm32/stm32f107-uc-eval/applications/main.c
bsp/stm32/stm32f107-uc-eval/applications/main.c
+1
-2
bsp/stm32/stm32f401-st-nucleo/applications/main.c
bsp/stm32/stm32f401-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32f405-smdz-breadfruit/applications/main.c
bsp/stm32/stm32f405-smdz-breadfruit/applications/main.c
+1
-2
bsp/stm32/stm32f407-atk-explorer/applications/main.c
bsp/stm32/stm32f407-atk-explorer/applications/main.c
+1
-2
bsp/stm32/stm32f407-st-discovery/applications/main.c
bsp/stm32/stm32f407-st-discovery/applications/main.c
+1
-2
bsp/stm32/stm32f410-st-nucleo/applications/main.c
bsp/stm32/stm32f410-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32f411-atk-nano/applications/main.c
bsp/stm32/stm32f411-atk-nano/applications/main.c
+1
-2
bsp/stm32/stm32f411-st-nucleo/applications/main.c
bsp/stm32/stm32f411-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32f411-weact-MiniF4/applications/main.c
bsp/stm32/stm32f411-weact-MiniF4/applications/main.c
+1
-2
bsp/stm32/stm32f412-st-nucleo/applications/main.c
bsp/stm32/stm32f412-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32f413-st-nucleo/applications/main.c
bsp/stm32/stm32f413-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32f427-robomaster-a/applications/main.c
bsp/stm32/stm32f427-robomaster-a/applications/main.c
+1
-2
bsp/stm32/stm32f429-armfly-v6/applications/main.c
bsp/stm32/stm32f429-armfly-v6/applications/main.c
+1
-3
bsp/stm32/stm32f429-atk-apollo/applications/main.c
bsp/stm32/stm32f429-atk-apollo/applications/main.c
+1
-2
bsp/stm32/stm32f429-fire-challenger/applications/main.c
bsp/stm32/stm32f429-fire-challenger/applications/main.c
+1
-2
bsp/stm32/stm32f429-st-disco/applications/main.c
bsp/stm32/stm32f429-st-disco/applications/main.c
+1
-2
bsp/stm32/stm32f446-st-nucleo/applications/main.c
bsp/stm32/stm32f446-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32f469-st-disco/applications/main.c
bsp/stm32/stm32f469-st-disco/applications/main.c
+1
-2
bsp/stm32/stm32f746-st-disco/applications/main.c
bsp/stm32/stm32f746-st-disco/applications/main.c
+1
-2
bsp/stm32/stm32f767-atk-apollo/applications/main.c
bsp/stm32/stm32f767-atk-apollo/applications/main.c
+1
-2
bsp/stm32/stm32f767-fire-challenger/applications/main.c
bsp/stm32/stm32f767-fire-challenger/applications/main.c
+1
-2
bsp/stm32/stm32f767-st-nucleo/applications/main.c
bsp/stm32/stm32f767-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32f769-st-disco/applications/main.c
bsp/stm32/stm32f769-st-disco/applications/main.c
+1
-2
bsp/stm32/stm32g070-st-nucleo/applications/main.c
bsp/stm32/stm32g070-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32g071-st-nucleo/applications/main.c
bsp/stm32/stm32g071-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32g431-st-nucleo/applications/main.c
bsp/stm32/stm32g431-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32h743-atk-apollo/applications/main.c
bsp/stm32/stm32h743-atk-apollo/applications/main.c
+1
-2
bsp/stm32/stm32h743-st-nucleo/applications/main.c
bsp/stm32/stm32h743-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32h747-st-discovery/applications/main.c
bsp/stm32/stm32h747-st-discovery/applications/main.c
+1
-2
bsp/stm32/stm32h750-armfly-h7-tool/applications/main.c
bsp/stm32/stm32h750-armfly-h7-tool/applications/main.c
+1
-2
bsp/stm32/stm32h750-artpi-h750/applications/main.c
bsp/stm32/stm32h750-artpi-h750/applications/main.c
+1
-2
bsp/stm32/stm32l010-st-nucleo/applications/main.c
bsp/stm32/stm32l010-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32l053-st-nucleo/applications/main.c
bsp/stm32/stm32l053-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32l412-st-nucleo/applications/main.c
bsp/stm32/stm32l412-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32l431-BearPi/applications/main.c
bsp/stm32/stm32l431-BearPi/applications/main.c
+11
-13
bsp/stm32/stm32l432-st-nucleo/applications/main.c
bsp/stm32/stm32l432-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32l433-st-nucleo/applications/main.c
bsp/stm32/stm32l433-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32l452-st-nucleo/applications/main.c
bsp/stm32/stm32l452-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32l475-atk-pandora/applications/main.c
bsp/stm32/stm32l475-atk-pandora/applications/main.c
+1
-2
bsp/stm32/stm32l475-st-discovery/applications/main.c
bsp/stm32/stm32l475-st-discovery/applications/main.c
+1
-2
bsp/stm32/stm32l476-st-nucleo/applications/main.c
bsp/stm32/stm32l476-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32l496-ali-developer/applications/main.c
bsp/stm32/stm32l496-ali-developer/applications/main.c
+1
-2
bsp/stm32/stm32l496-st-nucleo/applications/main.c
bsp/stm32/stm32l496-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32l4r5-st-nucleo/applications/main.c
bsp/stm32/stm32l4r5-st-nucleo/applications/main.c
+1
-3
bsp/stm32/stm32l4r9-st-eval/applications/main.c
bsp/stm32/stm32l4r9-st-eval/applications/main.c
+1
-2
bsp/stm32/stm32mp157a-st-discovery/applications/main.c
bsp/stm32/stm32mp157a-st-discovery/applications/main.c
+1
-2
bsp/stm32/stm32mp157a-st-ev1/applications/main.c
bsp/stm32/stm32mp157a-st-ev1/applications/main.c
+1
-2
bsp/stm32/stm32wb55-st-nucleo/applications/main.c
bsp/stm32/stm32wb55-st-nucleo/applications/main.c
+1
-2
bsp/stm32/stm32wl55-st-nucleo/applications/main.c
bsp/stm32/stm32wl55-st-nucleo/applications/main.c
+1
-2
未找到文件。
bsp/stm32/stm32f072-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED2_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED2_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f091-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,12 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED2 pin mode to output */
rt_pin_mode
(
LED2_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED2_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f103-atk-nano/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f103-atk-warshipv3/applications/main.c
浏览文件 @
390c6352
...
...
@@ -19,13 +19,12 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
/* set LED1 pin mode to output */
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_pin_write
(
LED1_PIN
,
PIN_HIGH
);
...
...
bsp/stm32/stm32f103-blue-pill/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f103-dofly-M3S/applications/main.c
浏览文件 @
390c6352
...
...
@@ -18,11 +18,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f103-dofly-lyc8/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f103-gizwits-gokitv21/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED4_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED4_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f103-hw100k-ibox/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f103-onenet-nbiot/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f103-yf-ufun/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED3_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED3_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f107-uc-eval/applications/main.c
浏览文件 @
390c6352
...
...
@@ -18,11 +18,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED1 pin mode to output */
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED1_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f401-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f405-smdz-breadfruit/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f407-atk-explorer/applications/main.c
浏览文件 @
390c6352
...
...
@@ -18,11 +18,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f407-st-discovery/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f410-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f411-atk-nano/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f411-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f411-weact-MiniF4/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f412-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f413-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -23,11 +23,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED1 pin mode to output */
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED1_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f427-robomaster-a/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f429-armfly-v6/applications/main.c
浏览文件 @
390c6352
...
...
@@ -15,14 +15,12 @@
int
main
(
void
)
{
int
count
=
1
;
HC574_SetPin
(
LED1
,
0
);
HC574_SetPin
(
LED2
,
0
);
HC574_SetPin
(
LED3
,
0
);
HC574_SetPin
(
LED4
,
0
);
while
(
count
++
)
while
(
1
)
{
HC574_SetPin
(
LED1
,
1
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f429-atk-apollo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f429-fire-challenger/applications/main.c
浏览文件 @
390c6352
...
...
@@ -18,11 +18,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f429-st-disco/applications/main.c
浏览文件 @
390c6352
...
...
@@ -18,11 +18,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED1 pin mode to output */
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED1_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f446-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED2 pin mode to output */
rt_pin_mode
(
LED2_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED2_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f469-st-disco/applications/main.c
浏览文件 @
390c6352
...
...
@@ -18,11 +18,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED1 pin mode to output */
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED1_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f746-st-disco/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED1 pin mode to output */
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED1_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f767-atk-apollo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f767-fire-challenger/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f767-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -18,11 +18,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED1 pin mode to output */
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED1_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32f769-st-disco/applications/main.c
浏览文件 @
390c6352
...
...
@@ -18,11 +18,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED1 pin mode to output */
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED1_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32g070-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32g071-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32g431-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED2 pin mode to output */
rt_pin_mode
(
LED2_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED2_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32h743-atk-apollo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32h743-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32h747-st-discovery/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32h750-armfly-h7-tool/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32h750-artpi-h750/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l010-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l053-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l412-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LD4 pin mode to output */
rt_pin_mode
(
LD4_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LD4_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l431-BearPi/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,19 +17,17 @@
int
main
(
void
)
{
int
count
=
1
;
rt_kprintf
(
"---Welcome use BearPi---
\n
"
);
/* set LED pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
rt_kprintf
(
"---Welcome use BearPi---
\n
"
);
/* set LED pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
while
(
count
++
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
return
RT_EOK
;
}
bsp/stm32/stm32l432-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l433-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l452-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED2 pin mode to output */
rt_pin_mode
(
LED2_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED2_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l475-atk-pandora/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l475-st-discovery/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l476-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l496-ali-developer/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l496-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED2 pin mode to output */
rt_pin_mode
(
LED2_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED2_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l4r5-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -23,11 +23,9 @@
int
main
(
void
)
{
int
count
=
1
;
rt_pin_mode
(
LED_RUN_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED_RUN_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32l4r9-st-eval/applications/main.c
浏览文件 @
390c6352
...
...
@@ -18,11 +18,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32mp157a-st-discovery/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LD7 pin mode to output */
rt_pin_mode
(
LED7_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED7_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32mp157a-st-ev1/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LD8 pin mode to output */
rt_pin_mode
(
LED4_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED4_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32wb55-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -17,11 +17,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED1_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
bsp/stm32/stm32wl55-st-nucleo/applications/main.c
浏览文件 @
390c6352
...
...
@@ -19,11 +19,10 @@
int
main
(
void
)
{
int
count
=
1
;
/* set LED_BLUE pin mode to output */
rt_pin_mode
(
LED_BLUE_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
while
(
1
)
{
rt_pin_write
(
LED_BLUE_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录