mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
f40dfc7234
add read/write double check in ROMFS/LITTLEFS file system Signed-off-by: zhaoxingyu1 <zhaoxingyu1@xiaomi.com>
37 lines
841 B
Plaintext
37 lines
841 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config FS_ROMFS
|
|
bool "ROMFS file system"
|
|
default n
|
|
depends on !DISABLE_MOUNTPOINT
|
|
---help---
|
|
Enable ROMFS filesystem support
|
|
|
|
if FS_ROMFS
|
|
|
|
config FS_ROMFS_CACHE_NODE
|
|
bool "Enable cache node of ROMFS file system"
|
|
default !DEFAULT_SMALL
|
|
---help---
|
|
All node will be cached to ram when file system
|
|
is mounted so that we can quick access entry of ROMFS
|
|
filesystem on emmc/sdcard.
|
|
|
|
config FS_ROMFS_CACHE_FILE_NSECTORS
|
|
int "The number of file cache sector"
|
|
range 1 256
|
|
default 1
|
|
---help---
|
|
The number of file cache sector
|
|
|
|
config FS_ROMFS_DEBUG
|
|
bool "ROMFS file system read/write double check"
|
|
depends on DEBUG_FS_ERROR
|
|
---help---
|
|
Enable ROMFS file system read/write double check.
|
|
|
|
endif
|