summaryrefslogtreecommitdiff
path: root/nuttx/tools/mkconfig.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-11-15 07:33:39 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-11-15 07:33:39 -0600
commit35924e56ce2178417dff1582c323f8c01a11337a (patch)
tree874bdca34a3a23b13b9c1eb11362ff1127f19ecf /nuttx/tools/mkconfig.c
parent7fc70dffd9f6614fb13a52bc23d1a21607181146 (diff)
downloadpx4-nuttx-35924e56ce2178417dff1582c323f8c01a11337a.tar.gz
px4-nuttx-35924e56ce2178417dff1582c323f8c01a11337a.tar.bz2
px4-nuttx-35924e56ce2178417dff1582c323f8c01a11337a.zip
tools/mkconfig.c: CONFIG_FS_SMARTFS must be included in the list of writable file systems
Diffstat (limited to 'nuttx/tools/mkconfig.c')
-rw-r--r--nuttx/tools/mkconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/tools/mkconfig.c b/nuttx/tools/mkconfig.c
index 87389f04e..ce1a1a977 100644
--- a/nuttx/tools/mkconfig.c
+++ b/nuttx/tools/mkconfig.c
@@ -223,14 +223,14 @@ int main(int argc, char **argv, char **envp)
printf("#endif\n\n");
printf("/* Check if any readable and writable filesystem (OR USB storage) is supported */\n\n");
printf("#undef CONFIG_FS_READABLE\n");
- printf("#undef CONFIG_FS_WRITABLE\n");
+ printf("#undef CONFIG_FS_WRITABLE\n\n");
printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_FS_ROMFS) || defined(CONFIG_USBMSC) || \\\n");
printf(" defined(CONFIG_FS_NXFFS) || defined(CONFIG_FS_SMARTFS) || defined(CONFIG_FS_BINFS) || \\\n");
printf(" defined(CONFIG_NFS)\n");
printf("# define CONFIG_FS_READABLE 1\n");
printf("#endif\n\n");
printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_USBMSC) || defined(CONFIG_FS_NXFFS) || \\\n");
- printf(" defined(CONFIG_NFS)\n");
+ printf(" defined(CONFIG_FS_SMARTFS) || defined(CONFIG_NFS)\n");
printf("# define CONFIG_FS_WRITABLE 1\n");
printf("#endif\n\n");
printf("/* There can be no network support with no socket descriptors */\n\n");