diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-05-03 12:52:33 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-05-03 12:52:33 -0600 |
commit | 1092e4b16395d945517b9bcbc2c48828fbe9303c (patch) | |
tree | e2171ab3f21ae1e0610903694901c776a7e1a1d8 /apps/examples/README.txt | |
parent | 2567deb0338a774086231fbb778b639c10398cc1 (diff) | |
download | nuttx-1092e4b16395d945517b9bcbc2c48828fbe9303c.tar.gz nuttx-1092e4b16395d945517b9bcbc2c48828fbe9303c.tar.bz2 nuttx-1092e4b16395d945517b9bcbc2c48828fbe9303c.zip |
Rearchitecting of some MTD, partition, SMART interfaces, and FLASH drivers to: Better use the byte write capbility when available and to use smaller erase sectors for the erase sector size when available).
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r-- | apps/examples/README.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt index ec9685f4e..24afaf699 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -1463,6 +1463,34 @@ examples/serloop Use C buffered I/O (getchar/putchar) vs. raw console I/O (read/read). +examples/smart +^^^^^^^^^^^^^^ + + This is a test of the SMART file systemt that derives from + examples/nxffs. + + * CONFIG_EXAMPLES_SMART: -Enable the SMART file system example + * CONFIG_EXAMPLES_SMART_ARCHINIT: The default is to use the RAM MTD + device at drivers/mtd/rammtd.c. But an architecture-specific MTD + driver can be used instead by defining CONFIG_EXAMPLES_SMART_ARCHINIT. In + this case, the initialization logic will call smart_archinitialize() + to obtain the MTD driver instance. + * CONFIG_EXAMPLES_SMART_NEBLOCKS: When CONFIG_EXAMPLES_SMART_ARCHINIT is not + defined, this test will use the RAM MTD device at drivers/mtd/rammtd.c + to simulate FLASH. In this case, this value must be provided to give + the nubmer of erase blocks in MTD RAM device. The size of the allocated + RAM drive will be: CONFIG_RAMMTD_ERASESIZE * CONFIG_EXAMPLES_SMART_NEBLOCKS + * CONFIG_EXAMPLES_SMART_MAXNAME: Determines the maximum size of names used + in the filesystem + * CONFIG_EXAMPLES_SMART_MAXFILE: Determines the maximum size of a file + * CONFIG_EXAMPLES_SMART_MAXIO: Max I/O, default 347. + * CONFIG_EXAMPLES_SMART_MAXOPEN: Max open files. + * CONFIG_EXAMPLES_SMART_MOUNTPT: SMART mountpoint + * CONFIG_EXAMPLES_SMART_NLOOPS: Number of test loops. default 100 + * CONFIG_EXAMPLES_SMART_VERBOSE: Verbose output + +endif + examples/smart_test ^^^^^^^^^^^^^^^^^^^ |