diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-21 19:36:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-21 19:36:07 +0000 |
commit | ee9f379c2f10c3c471bc421366fd1a0ed3147bb6 (patch) | |
tree | 7ca44f764a44392396b8a78d00af683bb782418f /nuttx/examples | |
parent | d3236bb10124ede44104a9e83ec282b8b762acba (diff) | |
download | px4-nuttx-ee9f379c2f10c3c471bc421366fd1a0ed3147bb6.tar.gz px4-nuttx-ee9f379c2f10c3c471bc421366fd1a0ed3147bb6.tar.bz2 px4-nuttx-ee9f379c2f10c3c471bc421366fd1a0ed3147bb6.zip |
Symbol table is ordered
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1924 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r-- | nuttx/examples/nxflat/nxflat_main.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nuttx/examples/nxflat/nxflat_main.c b/nuttx/examples/nxflat/nxflat_main.c index 4c4de4313..f31c21973 100644 --- a/nuttx/examples/nxflat/nxflat_main.c +++ b/nuttx/examples/nxflat/nxflat_main.c @@ -60,6 +60,32 @@ * Definitions ****************************************************************************/ +/* Check configuration. This is not all of the configuration settings that + * are required -- only the more obvious. + */ + +#if CONFIG_NFILE_DESCRIPTORS < 1 +# error "You must provide file descriptors via CONFIG_NFILE_DESCRIPTORS in your configuration file" +#endif + +#ifndef CONFIG_NXFLAT +# error "You must select CONFIG_NXFLAT in your configuration file" +#endif + +#ifndef CONFIG_FS_ROMFS +# error "You must select CONFIG_FS_ROMFS in your configuration file" +#endif + +#ifdef CONFIG_DISABLE_MOUNTPOINT +# error "You must not disable mountpoints via CONFIG_DISABLE_MOUNTPOINT in your configuration file" +#endif + +#ifdef CONFIG_BINFMT_DISABLE +# error "You must not disable loadable modules via CONFIG_BINFMT_DISABLE in your configuration file" +#endif + +/* Describe the ROMFS file system */ + #define SECTORSIZE 512 #define NSECTORS(b) (((b)+SECTORSIZE-1)/SECTORSIZE) #define ROMFSDEV "/dev/ram0" |