|
@@ -21,17 +21,11 @@
|
|
|
|
|
|
void rt_init_thread_entry(void *parameter)
|
|
|
{
|
|
|
+#ifdef RT_USING_COMPONENTS_INIT
|
|
|
/* initialization RT-Thread Components */
|
|
|
rt_components_init();
|
|
|
-
|
|
|
+#endif
|
|
|
#if defined(RT_USING_DFS) && defined(RT_USING_DFS_ELMFAT)
|
|
|
-
|
|
|
- /* initialize the device file system */
|
|
|
- dfs_init();
|
|
|
-
|
|
|
- /* initialize the elm chan FatFS file system*/
|
|
|
- elm_init();
|
|
|
-
|
|
|
/* mount sd card fat partition 1 as root directory */
|
|
|
if( dfs_mount("sd0", "/", "elm", 0, 0) == 0)
|
|
|
{
|