#include #ifdef RT_USING_DFS #include #include "dfs_romfs.h" int mnt_init(void) { if (dfs_mount(RT_NULL, "/", "rom", 0, &(romfs_root)) == 0) { rt_kprintf("ROM file system initializated!\n"); } else { rt_kprintf("ROM file system initializate failed!\n"); } return 0; } INIT_ENV_EXPORT(mnt_init); #endif