diff options
Diffstat (limited to 'nuttx/fs/fs_mount.c')
-rw-r--r-- | nuttx/fs/fs_mount.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/fs/fs_mount.c b/nuttx/fs/fs_mount.c index 0de22ac5a..d0806ba7d 100644 --- a/nuttx/fs/fs_mount.c +++ b/nuttx/fs/fs_mount.c @@ -53,7 +53,7 @@ * every configured filesystem. */ -#ifdef CONFIG_FS_FAT +#ifdef CONFIG_FS_READABLE /**************************************************************************** * Definitions @@ -76,12 +76,18 @@ struct fsmap_t #ifdef CONFIG_FS_FAT extern const struct mountpt_operations fat_operations; #endif +#ifdef CONFIG_FS_ROMFS +extern const struct mountpt_operations romfs_operations; +#endif static const struct fsmap_t g_fsmap[] = { #ifdef CONFIG_FS_FAT { "vfat", &fat_operations }, #endif +#ifdef CONFIG_FS_ROMFS + { "romfs", &romfs_operations }, +#endif { NULL, NULL }, }; |