MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_init_thread_entry

Function rt_init_thread_entry

bsp/rx/applications/application.c:53–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51#endif /* RT_USING_RTGUI */
52
53void rt_init_thread_entry(void* parameter)
54{
55
56 #ifdef RT_USING_MODULE
57 rt_system_module_init();
58#endif
59
60#ifdef RT_USING_FINSH
61 /* initialize finsh */
62 finsh_system_init();
63#if !defined(RT_USING_POSIX_STDIO) && defined(RT_USING_DEVICE)
64 finsh_set_device(RT_CONSOLE_DEVICE_NAME);
65#endif
66#endif
67
68#ifdef RT_USING_LWIP
69 /* initialize lwip stack */
70 /* register ethernetif device */
71 eth_system_device_init();
72
73 /* initialize lwip system */
74 lwip_system_init();
75 rt_kprintf("TCP/IP initialized!\n");
76#endif
77
78#ifdef RT_USING_DFS
79 /* initialize the device file system */
80 dfs_init();
81
82#ifdef RT_USING_DFS_ELMFAT
83 /* initialize the elm chan FatFS file system*/
84 elm_init();
85#endif
86
87#if defined(RT_USING_DFS_NFS) && defined(RT_USING_LWIP)
88 /* initialize NFSv3 client file system */
89 nfs_init();
90#endif
91
92#ifdef RT_USING_DFS_YAFFS2
93 dfs_yaffs2_init();
94#endif
95
96#ifdef RT_USING_DFS_UFFS
97 dfs_uffs_init();
98#endif
99
100#ifdef RT_USING_DFS_JFFS2
101 dfs_jffs2_init();
102#endif
103
104#ifdef RT_USING_DFS_ROMFS
105 dfs_romfs_init();
106#endif
107
108#ifdef RT_USING_DFS_RAMFS
109 dfs_ramfs_init();
110#endif

Callers

nothing calls this directly

Calls 15

rt_system_module_initFunction · 0.85
finsh_system_initFunction · 0.85
finsh_set_deviceFunction · 0.85
eth_system_device_initFunction · 0.85
lwip_system_initFunction · 0.85
rt_kprintfFunction · 0.85
nfs_initFunction · 0.85
devfs_initFunction · 0.85
rt_usb_host_initFunction · 0.85
rt_device_findFunction · 0.85
dfs_initFunction · 0.50
elm_initFunction · 0.50

Tested by

no test coverage detected