diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-10 19:29:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-10 19:29:24 +0000 |
commit | bae76fc0b070b5d47d35a44c6a91692957029cf8 (patch) | |
tree | eb3c0fa04693ffd428c362bb714b1fcbe824e08c /nuttx/fs/fs_mount.c | |
parent | 9dcf38806dd69fade9cdeb1ad0a7b0fce7f72e77 (diff) | |
download | px4-nuttx-bae76fc0b070b5d47d35a44c6a91692957029cf8.tar.gz px4-nuttx-bae76fc0b070b5d47d35a44c6a91692957029cf8.tar.bz2 px4-nuttx-bae76fc0b070b5d47d35a44c6a91692957029cf8.zip |
ROMFS filesystem support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@903 42af7a65-404d-4744-a932-0658087f49c3
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 }, }; |