1 /* 2 * Copyright (c) 2006-2021, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2017-5-30 bernard the first version 9 */ 10 11 #include <rtthread.h> 12 13 #ifdef BSP_USING_SDIO0 14 #include <dfs_fs.h> 15 mnt_init(void)16int mnt_init(void) 17 { 18 rt_thread_delay(RT_TICK_PER_SECOND); 19 20 if (dfs_mount("sd0", "/", "elm", 0, 0) == 0) 21 { 22 rt_kprintf("file system initialization done!\n"); 23 } 24 25 return 0; 26 } 27 INIT_ENV_EXPORT(mnt_init); 28 #endif 29 30