2015-10-10 22:18:10 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_FSTEST
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Generic file system test"
|
2015-10-10 22:18:10 +02:00
|
|
|
default n
|
|
|
|
depends on FS_READABLE && FS_WRITABLE
|
|
|
|
---help---
|
|
|
|
Enable the generic file system test
|
|
|
|
|
|
|
|
if EXAMPLES_FSTEST
|
|
|
|
|
|
|
|
config EXAMPLES_FSTEST_MAXNAME
|
|
|
|
int "Max name size"
|
|
|
|
default 32
|
|
|
|
range 1 255
|
|
|
|
---help---
|
|
|
|
Determines the maximum size of names used in the filesystem
|
|
|
|
|
|
|
|
config EXAMPLES_FSTEST_MAXFILE
|
|
|
|
int "Max file size"
|
|
|
|
default 8192
|
|
|
|
---help---
|
|
|
|
Determines the maximum size of a file
|
|
|
|
|
|
|
|
config EXAMPLES_FSTEST_MAXIO
|
|
|
|
int "Max I/O"
|
|
|
|
default 347
|
|
|
|
|
|
|
|
config EXAMPLES_FSTEST_MAXOPEN
|
|
|
|
int "Max open files"
|
|
|
|
default 512
|
|
|
|
|
|
|
|
config EXAMPLES_FSTEST_MOUNTPT
|
|
|
|
string "FSTEST mountpoint"
|
|
|
|
|
|
|
|
config EXAMPLES_FSTEST_NLOOPS
|
|
|
|
int "Number of test loops"
|
|
|
|
default 100
|
|
|
|
|
2018-09-27 20:28:33 +02:00
|
|
|
config EXAMPLES_FSTEST_SPIFFS
|
|
|
|
bool "Enable SPIFFS testing"
|
2018-09-28 01:01:10 +02:00
|
|
|
default y
|
2018-09-29 04:07:40 +02:00
|
|
|
depends on FS_SPIFFS && EXPERIMENTAL
|
2018-09-27 20:28:33 +02:00
|
|
|
---help---
|
|
|
|
SPIFFS garbage collection and integrity checking will be performed
|
2018-09-28 19:27:01 +02:00
|
|
|
after each pass through the test and if a write fails with ENOSPC.
|
2018-09-27 20:28:33 +02:00
|
|
|
|
2018-09-28 19:27:01 +02:00
|
|
|
If this option is not selected then the SPIFFS FLASH will be be
|
|
|
|
reclaimed on-demand when there is no longer any available FLASH.
|
2018-09-27 20:28:33 +02:00
|
|
|
|
2018-09-29 04:07:40 +02:00
|
|
|
Marked EXPERIMENTAL because it interferes with test performance.
|
|
|
|
|
2015-10-10 22:18:10 +02:00
|
|
|
config EXAMPLES_FSTEST_VERBOSE
|
|
|
|
bool "Verbose output"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif
|