summaryrefslogtreecommitdiff
path: root/nuttx/tools
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-29 23:50:38 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-29 23:50:38 +0000
commit2272d60c0c7045ffdcfdb3d2c37ed8849a129783 (patch)
treeb8543782f9977c3af57467b7aeb0a8478d7704e4 /nuttx/tools
parent8698f6ddcaebf63f5324b3c28d95dcb315a16897 (diff)
downloadpx4-nuttx-2272d60c0c7045ffdcfdb3d2c37ed8849a129783.tar.gz
px4-nuttx-2272d60c0c7045ffdcfdb3d2c37ed8849a129783.tar.bz2
px4-nuttx-2272d60c0c7045ffdcfdb3d2c37ed8849a129783.zip
Some initial NXFFS bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3541 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools')
-rw-r--r--nuttx/tools/mkconfig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/tools/mkconfig.c b/nuttx/tools/mkconfig.c
index a10f359d3..c8a6fb261 100644
--- a/nuttx/tools/mkconfig.c
+++ b/nuttx/tools/mkconfig.c
@@ -198,10 +198,11 @@ int main(int argc, char **argv, char **envp)
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("#if defined(CONFIG_FS_FAT) || defined(CONFIG_FS_ROMFS) || defined(CONFIG_USBSTRG)\n");
+ printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_FS_ROMFS) || defined(CONFIG_USBSTRG) || \\\n");
+ printf(" defined(CONFIG_FS_NXFFS) || defined(CONFIG_APPS_BINDIR)\n");
printf("# define CONFIG_FS_READABLE 1\n");
printf("#endif\n\n");
- printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_USBSTRG)\n");
+ printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_USBSTRG) || defined(CONFIG_FS_NXFFS)\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");