Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Richard 祝发兴 - -IT
rt-thread
提交
26118499
R
rt-thread
项目概览
Richard 祝发兴 - -IT
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
26118499
编写于
7月 19, 2014
作者:
B
bernard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[BSP] remove rt_device_init_all() invoking.
上级
a8224dcb
变更
31
隐藏空白更改
内联
并排
Showing
31 changed file
with
15 addition
and
139 deletion
+15
-139
bsp/at91sam9260/applications/application.c
bsp/at91sam9260/applications/application.c
+0
-2
bsp/avr32uc3b0/startup.c
bsp/avr32uc3b0/startup.c
+0
-1
bsp/bf533/startup.c
bsp/bf533/startup.c
+0
-3
bsp/efm32/startup.c
bsp/efm32/startup.c
+0
-3
bsp/lm3s8962/applications/startup.c
bsp/lm3s8962/applications/startup.c
+0
-2
bsp/lm3s9b9x/applications/startup.c
bsp/lm3s9b9x/applications/startup.c
+0
-2
bsp/lm4f232/applications/startup.c
bsp/lm4f232/applications/startup.c
+0
-2
bsp/lpc176x/applications/startup.c
bsp/lpc176x/applications/startup.c
+3
-18
bsp/lpc178x/applications/application.c
bsp/lpc178x/applications/application.c
+1
-5
bsp/lpc2148/applications/startup.c
bsp/lpc2148/applications/startup.c
+0
-3
bsp/ls1bdev/applications/application.c
bsp/ls1bdev/applications/application.c
+4
-7
bsp/ls1bdev/applications/startup.c
bsp/ls1bdev/applications/startup.c
+1
-6
bsp/ls1bdev/ls1b_ram.lds
bsp/ls1bdev/ls1b_ram.lds
+1
-1
bsp/m16c62p/applications/startup.c
bsp/m16c62p/applications/startup.c
+0
-5
bsp/mb9bf500r/application.c
bsp/mb9bf500r/application.c
+1
-4
bsp/mb9bf506r/applications/startup.c
bsp/mb9bf506r/applications/startup.c
+2
-6
bsp/microblaze/startup.c
bsp/microblaze/startup.c
+0
-2
bsp/mini2440/application.c
bsp/mini2440/application.c
+0
-9
bsp/mini2440/startup.c
bsp/mini2440/startup.c
+0
-3
bsp/mini4020/applications/startup.c
bsp/mini4020/applications/startup.c
+1
-6
bsp/sam7x/applications/startup.c
bsp/sam7x/applications/startup.c
+0
-3
bsp/sep6200/application/startup.c
bsp/sep6200/application/startup.c
+0
-14
bsp/simulator/applications/startup.c
bsp/simulator/applications/startup.c
+0
-4
bsp/stm32f0x/applications/startup.c
bsp/stm32f0x/applications/startup.c
+0
-5
bsp/stm32f107/applications/startup.c
bsp/stm32f107/applications/startup.c
+0
-3
bsp/stm32f10x/applications/application.c
bsp/stm32f10x/applications/application.c
+0
-3
bsp/stm32f20x/applications/application.c
bsp/stm32f20x/applications/application.c
+1
-4
bsp/stm32f20x/applications/startup.c
bsp/stm32f20x/applications/startup.c
+0
-3
bsp/stm32f40x/applications/application.c
bsp/stm32f40x/applications/application.c
+0
-2
bsp/stm32f40x/applications/startup.c
bsp/stm32f40x/applications/startup.c
+0
-3
bsp/upd70f3454/applications/startup.c
bsp/upd70f3454/applications/startup.c
+0
-5
未找到文件。
bsp/at91sam9260/applications/application.c
浏览文件 @
26118499
...
...
@@ -138,8 +138,6 @@ void rt_init_thread_entry(void* parameter)
/* register ethernetif device */
eth_system_device_init
();
rt_hw_macb_init
();
/* re-init device driver */
rt_device_init_all
();
/* init lwip system */
lwip_sys_init
();
}
...
...
bsp/avr32uc3b0/startup.c
浏览文件 @
26118499
...
...
@@ -39,7 +39,6 @@ int main(void)
#endif
rt_system_scheduler_init
();
rt_device_init_all
();
rt_application_init
();
#ifdef RT_USING_FINSH
...
...
bsp/bf533/startup.c
浏览文件 @
26118499
...
...
@@ -62,9 +62,6 @@ void rtthread_startup(void)
RT_DEVICE_FLAG_RDWR
|
RT_DEVICE_FLAG_INT_RX
|
RT_DEVICE_FLAG_STREAM
,
&
uart0
);
/* init all device */
rt_device_init_all
();
rt_console_set_device
(
"uart0"
);
#endif
...
...
bsp/efm32/startup.c
浏览文件 @
26118499
...
...
@@ -114,9 +114,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init
();
/* init all devices */
rt_device_init_all
();
/* init finsh */
#ifdef RT_USING_FINSH
finsh_system_init
();
...
...
bsp/lm3s8962/applications/startup.c
浏览文件 @
26118499
...
...
@@ -118,8 +118,6 @@ void rtthread_startup(void)
/* init sd card device */
rt_hw_sdcard_init
();
#endif
/* init all device */
rt_device_init_all
();
/* init application */
rt_application_init
();
...
...
bsp/lm3s9b9x/applications/startup.c
浏览文件 @
26118499
...
...
@@ -118,8 +118,6 @@ void rtthread_startup(void)
/* init sd card device */
rt_hw_sdcard_init
();
#endif
/* init all device */
rt_device_init_all
();
/* init application */
rt_application_init
();
...
...
bsp/lm4f232/applications/startup.c
浏览文件 @
26118499
...
...
@@ -118,8 +118,6 @@ void rtthread_startup(void)
/* init sd card device */
rt_hw_sdcard_init
();
#endif
/* init all device */
rt_device_init_all
();
/* init application */
rt_application_init
();
...
...
bsp/lpc176x/applications/startup.c
浏览文件 @
26118499
...
...
@@ -16,20 +16,13 @@
#include <rthw.h>
#include <rtthread.h>
#include "LPC17xx.h"
#include "board.h"
#ifdef RT_USING_DFS
#include "sd.h"
#endif
/**
* @addtogroup LPC17
* @addtogroup LPC17
6x
*/
/*@{*/
extern
int
rt_application_init
(
void
);
#include <board.h>
extern
int
rt_application_init
(
void
);
#ifdef __CC_ARM
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
...
...
@@ -84,14 +77,6 @@ void rtthread_startup(void)
/* initialize scheduler system */
rt_system_scheduler_init
();
#ifdef RT_USING_DEVICE
#ifdef RT_USING_DFS
rt_hw_sdcard_init
();
#endif
/* initialize all device */
rt_device_init_all
();
#endif
/* initialize application */
rt_application_init
();
...
...
bsp/lpc178x/applications/application.c
浏览文件 @
26118499
...
...
@@ -65,8 +65,6 @@ void rt_init_thread_entry(void *parameter)
/* register ethernetif device */
lpc17xx_emac_hw_init
();
/* init all device */
rt_device_init_all
();
/* init lwip system */
lwip_sys_init
();
...
...
@@ -78,13 +76,11 @@ void rt_init_thread_entry(void *parameter)
{
extern
void
rtgui_system_server_init
(
void
);
extern
void
application_init
(
void
);
rt_device_t
lcd
;
/* init lcd */
rt_hw_lcd_init
();
/* re-init device driver */
rt_device_init_all
();
/* find lcd device */
lcd
=
rt_device_find
(
"lcd"
);
...
...
bsp/lpc2148/applications/startup.c
浏览文件 @
26118499
...
...
@@ -100,9 +100,6 @@ void rtthread_startup(void)
/* init hardware serial device */
rt_hw_serial_init
();
/*init all registed devices*/
rt_device_init_all
();
#endif
/* init application */
...
...
bsp/ls1bdev/applications/application.c
浏览文件 @
26118499
...
...
@@ -33,14 +33,11 @@ void rt_init_thread_entry(void *parameter)
/* init Display Controller */
rt_hw_dc_init
();
/* re-init device driver */
rt_device_init_all
();
/* find Display Controller device */
dc
=
rt_device_find
(
"dc"
);
/* set Display Controller device as rtgui graphic driver */
/* set Display Controller device as rtgui graphic driver */
rtgui_graphic_set_device
(
dc
);
}
#endif
...
...
@@ -59,7 +56,7 @@ int rt_application_init(void)
tid
=
rt_thread_create
(
"init"
,
rt_init_thread_entry
,
RT_NULL
,
4096
,
8
,
20
);
if
(
tid
!=
RT_NULL
)
if
(
tid
!=
RT_NULL
)
rt_thread_startup
(
tid
);
return
0
;
...
...
bsp/ls1bdev/applications/startup.c
浏览文件 @
26118499
...
...
@@ -64,11 +64,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init
();
#ifdef RT_USING_DEVICE
/* init all device */
rt_device_init_all
();
#endif
/* init application */
rt_application_init
();
...
...
@@ -85,7 +80,7 @@ void rtthread_startup(void)
rt_system_scheduler_start
();
/* never reach here */
return
;
return
;
}
/*@}*/
bsp/ls1bdev/ls1b_ram.lds
浏览文件 @
26118499
...
...
@@ -50,7 +50,7 @@ SECTIONS
. = ALIGN(4);
__rt_init_start = .;
KEEP(*(SORT(.rti_fn*)))
__rt_init_end = .;
__rt_init_end = .;
. = ALIGN(4);
}
...
...
bsp/m16c62p/applications/startup.c
浏览文件 @
26118499
...
...
@@ -68,11 +68,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init
();
#ifdef RT_USING_DEVICE
/* init all device */
rt_device_init_all
();
#endif
/* init application */
rt_application_init
();
...
...
bsp/mb9bf500r/application.c
浏览文件 @
26118499
...
...
@@ -44,10 +44,7 @@ void rt_init_thread_entry(void *parameter)
rt_hw_adc_init
();
rt_hw_lcd_init
();
rt_hw_cpu_init
();
/* re-init device driver */
rt_device_init_all
();
#ifdef RT_USING_RTGUI
extern
void
rtgui_system_server_init
(
void
);
...
...
bsp/mb9bf506r/applications/startup.c
浏览文件 @
26118499
...
...
@@ -59,13 +59,9 @@ void rtthread_startup(void)
rt_system_scheduler_init
();
#ifdef RT_USING_DEVICE
#ifdef RT_USING_DFS
#ifdef RT_USING_DFS_UFFS
#if defined(RT_USING_DFS) && defined(RT_USING_DFS_UFFS)
rt_hw_nand_init
();
#endif
#endif
/* initialize all device */
rt_device_init_all
();
#endif
/* initialize application */
...
...
@@ -91,7 +87,7 @@ int main(void)
{
/* disable interrupt first */
rt_hw_interrupt_disable
();
/* startup RT-Thread RTOS */
rtthread_startup
();
...
...
bsp/microblaze/startup.c
浏览文件 @
26118499
...
...
@@ -86,8 +86,6 @@ void rtthread_startup(void)
#ifdef RT_USING_DEVICE
/* init hardware serial device */
rt_hw_serial_init
();
/* init all device */
rt_device_init_all
();
#endif
/* init application */
...
...
bsp/mini2440/application.c
浏览文件 @
26118499
...
...
@@ -151,9 +151,6 @@ void rt_init_thread_entry(void *parameter)
/* init keypad */
rt_hw_key_init
();
/* re-init device driver */
rt_device_init_all
();
/* find lcd device */
lcd
=
rt_device_find
(
"lcd"
);
...
...
@@ -175,9 +172,6 @@ void rt_init_thread_entry(void *parameter)
/* register ethernetif device */
rt_hw_dm9000_init
();
/* re-init device driver */
rt_device_init_all
();
/* init lwip system */
lwip_sys_init
();
rt_kprintf
(
"TCP/IP initialized!
\n
"
);
...
...
@@ -197,9 +191,6 @@ void rt_init_thread_entry(void *parameter)
/* init keypad */
rt_hw_key_init
();
/* re-init device driver */
rt_device_init_all
();
/* create ftk thread */
ftk_thread
=
rt_thread_create
(
"ftk"
,
rt_ftk_thread_entry
,
RT_NULL
,
...
...
bsp/mini2440/startup.c
浏览文件 @
26118499
...
...
@@ -126,9 +126,6 @@ void rtthread_startup(void)
/* rtc init */
rt_hw_rtc_init
();
/*init all registed devices */
rt_device_init_all
();
#endif
/* init application */
...
...
bsp/mini4020/applications/startup.c
浏览文件 @
26118499
...
...
@@ -79,9 +79,6 @@ void rtthread_startup()
eth_system_device_init
();
rt_hw_dm9161_init
();
#endif
/*init all registed devices */
rt_device_init_all
();
#endif
/* init application */
...
...
@@ -108,10 +105,8 @@ void rtthread_startup()
int
main
()
{
rt_uint32_t
UNUSED
level
;
/* disable interrupt first */
level
=
rt_hw_interrupt_disable
();
rt_hw_interrupt_disable
();
/* startup RT-Thread RTOS */
rtthread_startup
();
...
...
bsp/sam7x/applications/startup.c
浏览文件 @
26118499
...
...
@@ -116,9 +116,6 @@ void rtthread_startup(void)
#ifdef RT_USING_DFS
rt_hw_sdcard_init
();
#endif
/*init all registed devices*/
rt_device_init_all
();
#endif
/* init application */
...
...
bsp/sep6200/application/startup.c
浏览文件 @
26118499
...
...
@@ -78,20 +78,6 @@ void rtthread_startup()
/* init scheduler system */
rt_system_scheduler_init
();
#ifdef RT_USING_DEVICE
#ifdef RT_USING_DFS
/* Not implemented */
#endif
#ifdef RT_USING_LWIP
/* Not implemented */
#endif
/*init all registed devices */
rt_device_init_all
();
#endif
/* init application */
rt_application_init
();
...
...
bsp/simulator/applications/startup.c
浏览文件 @
26118499
...
...
@@ -58,10 +58,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init
();
/* init all device */
#ifdef RT_USING_DEVICE
rt_device_init_all
();
#endif
/* init application */
rt_application_init
();
...
...
bsp/stm32f0x/applications/startup.c
浏览文件 @
26118499
...
...
@@ -86,11 +86,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init
();
#ifdef RT_USING_DEVICE
/* init all device */
rt_device_init_all
();
#endif
/* init application */
rt_application_init
();
...
...
bsp/stm32f107/applications/startup.c
浏览文件 @
26118499
...
...
@@ -81,9 +81,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init
();
/* init all device */
rt_device_init_all
();
/* init application */
rt_application_init
();
...
...
bsp/stm32f10x/applications/application.c
浏览文件 @
26118499
...
...
@@ -122,9 +122,6 @@ void rt_init_thread_entry(void* parameter)
/* init touch panel */
rtgui_touch_hw_init
();
/* re-init device driver */
rt_device_init_all
();
/* find lcd device */
lcd
=
rt_device_find
(
"lcd"
);
...
...
bsp/stm32f20x/applications/application.c
浏览文件 @
26118499
...
...
@@ -66,12 +66,9 @@ void rt_init_thread_entry(void* parameter)
/* register ethernetif device */
eth_system_device_init
();
/* initialize eth interface */
rt_hw_stm32_eth_init
();
/* re-init device driver */
rt_device_init_all
();
/* init lwip system */
lwip_sys_init
();
...
...
bsp/stm32f20x/applications/startup.c
浏览文件 @
26118499
...
...
@@ -107,9 +107,6 @@ void rtthread_startup(void)
rt_hw_rtc_init
();
/* init all device */
rt_device_init_all
();
/* init application */
rt_application_init
();
...
...
bsp/stm32f40x/applications/application.c
浏览文件 @
26118499
...
...
@@ -34,8 +34,6 @@ void rt_init_thread_entry(void* parameter)
eth_system_device_init
();
rt_hw_stm32_eth_init
();
/* re-init device driver */
rt_device_init_all
();
/* init lwip system */
lwip_sys_init
();
...
...
bsp/stm32f40x/applications/startup.c
浏览文件 @
26118499
...
...
@@ -85,9 +85,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init
();
/* init all device */
rt_device_init_all
();
/* init application */
rt_application_init
();
...
...
bsp/upd70f3454/applications/startup.c
浏览文件 @
26118499
...
...
@@ -68,11 +68,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init
();
#ifdef RT_USING_DEVICE
/* init all device */
rt_device_init_all
();
#endif
/* init application */
rt_application_init
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录