mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
Gregory Nutt is the copyright holder for those files and he has submitted the SGA as a result we can migrate the licenses to Apache. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||
| README.md | ||
| smart_main.c | ||
Testing / smart SMART File System
This is a test of the SMART file system that derives from testing/nxffs.
CONFIG_TESTING_SMART– Enable the SMART file system example.CONFIG_TESTING_SMART_ARCHINIT– The default is to use the RAM MTD device atdrivers/mtd/rammtd.c. But an architecture-specific MTD driver can be used instead by definingCONFIG_TESTING_SMART_ARCHINIT. In this case, the initialization logic will callsmart_archinitialize()to obtain the MTD driver instance.CONFIG_TESTING_SMART_NEBLOCKS– WhenCONFIG_TESTING_SMART_ARCHINITis not defined, this test will use the RAM MTD device atdrivers/mtd/rammtd.cto simulate FLASH. In this case, this value must be provided to give the number of erase blocks in MTD RAM device. The size of the allocated RAM drive will be:CONFIG_RAMMTD_ERASESIZE * CONFIG_TESTING_SMART_NEBLOCKS.CONFIG_TESTING_SMART_MAXNAME– Determines the maximum size of names used in the filesystem.CONFIG_TESTING_SMART_MAXFILE– Determines the maximum size of a file.CONFIG_TESTING_SMART_MAXIO– Max I/O, default347.CONFIG_TESTING_SMART_MAXOPEN– Max open files.CONFIG_TESTING_SMART_MOUNTPT– SMART mountpoint.CONFIG_TESTING_SMART_NLOOPS– Number of test loops. default100.CONFIG_TESTING_SMART_VERBOSE– Verbose output.