spiffs: reformat Kconfig to 80 character wide lines

Some help strings looked odd in mconf.
This commit is contained in:
Ivan Grokhotkov
2018-01-28 23:21:16 +08:00
parent 594d5c1436
commit 7b32aaa151

View File

@@ -5,16 +5,14 @@ config SPIFFS_MAX_PARTITIONS
default 3 default 3
range 1 10 range 1 10
help help
Define maximum number of partitions Define maximum number of partitions that can be mounted.
that can be mounted.
menu "SPIFFS Cache Configuration" menu "SPIFFS Cache Configuration"
config SPIFFS_CACHE config SPIFFS_CACHE
bool "Enable SPIFFS Cache" bool "Enable SPIFFS Cache"
default "y" default "y"
help help
Enables/disable memory read Enables/disable memory read caching of nucleus file system
caching of nucleus file system
operations. operations.
config SPIFFS_CACHE_WR config SPIFFS_CACHE_WR
@@ -22,16 +20,14 @@ config SPIFFS_CACHE_WR
default "y" default "y"
depends on SPIFFS_CACHE depends on SPIFFS_CACHE
help help
Enables memory write caching for Enables memory write caching for file descriptors in hydrogen.
file descriptors in hydrogen.
config SPIFFS_CACHE_STATS config SPIFFS_CACHE_STATS
bool "Enable SPIFFS Cache Statistics" bool "Enable SPIFFS Cache Statistics"
default "n" default "n"
depends on SPIFFS_CACHE depends on SPIFFS_CACHE
help help
Enable/disable statistics on caching. Enable/disable statistics on caching. Debug/test purpose only.
Debug/test purpose only.
endmenu endmenu
@@ -39,25 +35,22 @@ config SPIFFS_PAGE_CHECK
bool "Enable SPIFFS Page Check" bool "Enable SPIFFS Page Check"
default "y" default "y"
help help
Always check header of each Always check header of each accessed page to ensure consistent state.
accessed page to ensure consistent state. If enabled it will increase number of reads from flash, especially
If enabled it will increase number if cache is disabled.
of reads, will increase flash.
config SPIFFS_GC_MAX_RUNS config SPIFFS_GC_MAX_RUNS
int "Set Maximum GC Runs" int "Set Maximum GC Runs"
default 10 default 10
range 1 255 range 1 255
help help
Define maximum number of gc runs to Define maximum number of GC runs to perform to reach desired free pages.
perform to reach desired free pages.
config SPIFFS_GC_STATS config SPIFFS_GC_STATS
bool "Enable SPIFFS GC Statistics" bool "Enable SPIFFS GC Statistics"
default "n" default "n"
help help
Enable/disable statistics on gc. Enable/disable statistics on gc. Debug/test purpose only.
Debug/test purpose only.
config SPIFFS_PAGE_SIZE config SPIFFS_PAGE_SIZE
int "SPIFFS logical page size" int "SPIFFS logical page size"
@@ -88,9 +81,8 @@ config SPIFFS_USE_MAGIC
default "y" default "y"
help help
Enable this to have an identifiable spiffs filesystem. Enable this to have an identifiable spiffs filesystem.
This will look for a magic in all sectors This will look for a magic in all sectors to determine if this
to determine if this is a valid spiffs system is a valid spiffs system or not at mount time.
or not on mount point.
config SPIFFS_USE_MAGIC_LENGTH config SPIFFS_USE_MAGIC_LENGTH
bool "Enable SPIFFS Filesystem Length Magic" bool "Enable SPIFFS Filesystem Length Magic"
@@ -130,45 +122,39 @@ config SPIFFS_DBG
bool "Enable general SPIFFS debug" bool "Enable general SPIFFS debug"
default "n" default "n"
help help
Enabling this option will print Enabling this option will print general debug mesages to the console.
general debug mesages to the console
config SPIFFS_API_DBG config SPIFFS_API_DBG
bool "Enable SPIFFS API debug" bool "Enable SPIFFS API debug"
default "n" default "n"
help help
Enabling this option will print Enabling this option will print API debug mesages to the console.
API debug mesages to the console
config SPIFFS_GC_DBG config SPIFFS_GC_DBG
bool "Enable SPIFFS Garbage Cleaner debug" bool "Enable SPIFFS Garbage Cleaner debug"
default "n" default "n"
help help
Enabling this option will print Enabling this option will print GC debug mesages to the console.
GC debug mesages to the console
config SPIFFS_CACHE_DBG config SPIFFS_CACHE_DBG
bool "Enable SPIFFS Cache debug" bool "Enable SPIFFS Cache debug"
default "n" default "n"
depends on SPIFFS_CACHE depends on SPIFFS_CACHE
help help
Enabling this option will print Enabling this option will print cache debug mesages to the console.
Cache debug mesages to the console
config SPIFFS_CHECK_DBG config SPIFFS_CHECK_DBG
bool "Enable SPIFFS Filesystem Check debug" bool "Enable SPIFFS Filesystem Check debug"
default "n" default "n"
help help
Enabling this option will print Enabling this option will print Filesystem Check debug mesages
Filesystem Check debug mesages to the console.
to the console
config SPIFFS_TEST_VISUALISATION config SPIFFS_TEST_VISUALISATION
bool "Enable SPIFFS Filesystem Visualization" bool "Enable SPIFFS Filesystem Visualization"
default "n" default "n"
help help
Enable this option to enable SPIFFS_vis function Enable this option to enable SPIFFS_vis function in the API.
in the api.
endmenu endmenu