From 0552c1279bd3b0d60e730ea7a52ef123eca3e3c2 Mon Sep 17 00:00:00 2001
From: patacongo Last Updated: April 14, 2011 Last Updated: May 6, 2011
NuttX RTOS Porting Guide
- mount() command that allows
a block driver to be bound to a mountpoint within the pseudo file system
and to a file system.
- At present, NuttX supports only the VFAT file system.
+ At present, NuttX supports the standard VFAT and ROMFS file systems and
+ well as a special, wear-leveling NuttX FLASH File System (NXFFS).
Comparison to Linux @@ -3120,7 +3124,7 @@ build
CONFIG_NXFLAT: Enable support for the NXFLAT binary format.
This format will support execution of NuttX binaries located
- in a ROMFS filesystem (see apps/examples/nxflat).
+ in a ROMFS file system (see apps/examples/nxflat).
CONFIG_SCHED_WORKQUEUE: Create a dedicated "worker" thread to
@@ -3435,13 +3439,46 @@ build
CONFIG_FS_FAT: Enable FAT filesystem support.
+ CONFIG_FS_FAT: Enable FAT file system support.
CONFIG_FAT_SECTORSIZE: Max supported sector size.
CONFIG_FS_ROMFS: Enable ROMFS filesystem support
+ CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
+ CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
+ This must have one of the values of 0xff or 0x00.
+ Default: 0xff.
+ CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
+ don't both with file chunks smaller than this number of data bytes.
+ Default: 32.
+ CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
+ Default: 255.
+ CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
+ don't both with file chunks smaller than this number of data bytes.
+ Default: 32.
+ CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
+ packing files together toward the end of the file or, if file are
+ deleted at the end of the file, clean up can simply mean erasing
+ the end of FLASH memory so that it can be re-used again. However,
+ doing this can also harm the life of the FLASH part because it can
+ mean that the tail end of the FLASH is re-used too often. This
+ threshold determines if/when it is worth erased the tail end of FLASH
+ and making it available for re-use (and possible over-wear).
+ Default: 8192.
+ CONFIG_FS_ROMFS: Enable ROMFS file system support