From 7b32aaa15130d996b895cf4206969c6c2337f400 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Sun, 28 Jan 2018 23:21:16 +0800 Subject: [PATCH] spiffs: reformat Kconfig to 80 character wide lines Some help strings looked odd in mconf. --- components/spiffs/Kconfig | 50 ++++++++++++++------------------------- 1 file changed, 18 insertions(+), 32 deletions(-) diff --git a/components/spiffs/Kconfig b/components/spiffs/Kconfig index 262f0d678b..697f2b68bd 100644 --- a/components/spiffs/Kconfig +++ b/components/spiffs/Kconfig @@ -5,16 +5,14 @@ config SPIFFS_MAX_PARTITIONS default 3 range 1 10 help - Define maximum number of partitions - that can be mounted. + Define maximum number of partitions that can be mounted. menu "SPIFFS Cache Configuration" config SPIFFS_CACHE bool "Enable SPIFFS Cache" default "y" help - Enables/disable memory read - caching of nucleus file system + Enables/disable memory read caching of nucleus file system operations. config SPIFFS_CACHE_WR @@ -22,16 +20,14 @@ config SPIFFS_CACHE_WR default "y" depends on SPIFFS_CACHE help - Enables memory write caching for - file descriptors in hydrogen. + Enables memory write caching for file descriptors in hydrogen. config SPIFFS_CACHE_STATS bool "Enable SPIFFS Cache Statistics" default "n" depends on SPIFFS_CACHE help - Enable/disable statistics on caching. - Debug/test purpose only. + Enable/disable statistics on caching. Debug/test purpose only. endmenu @@ -39,25 +35,22 @@ config SPIFFS_PAGE_CHECK bool "Enable SPIFFS Page Check" default "y" help - Always check header of each - accessed page to ensure consistent state. - If enabled it will increase number - of reads, will increase flash. + Always check header of each accessed page to ensure consistent state. + If enabled it will increase number of reads from flash, especially + if cache is disabled. config SPIFFS_GC_MAX_RUNS int "Set Maximum GC Runs" default 10 range 1 255 help - Define maximum number of gc runs to - perform to reach desired free pages. + Define maximum number of GC runs to perform to reach desired free pages. config SPIFFS_GC_STATS bool "Enable SPIFFS GC Statistics" default "n" help - Enable/disable statistics on gc. - Debug/test purpose only. + Enable/disable statistics on gc. Debug/test purpose only. config SPIFFS_PAGE_SIZE int "SPIFFS logical page size" @@ -88,9 +81,8 @@ config SPIFFS_USE_MAGIC default "y" help Enable this to have an identifiable spiffs filesystem. - This will look for a magic in all sectors - to determine if this is a valid spiffs system - or not on mount point. + This will look for a magic in all sectors to determine if this + is a valid spiffs system or not at mount time. config SPIFFS_USE_MAGIC_LENGTH bool "Enable SPIFFS Filesystem Length Magic" @@ -130,45 +122,39 @@ config SPIFFS_DBG bool "Enable general SPIFFS debug" default "n" help - Enabling this option will print - general debug mesages to the console + Enabling this option will print general debug mesages to the console. config SPIFFS_API_DBG bool "Enable SPIFFS API debug" default "n" help - Enabling this option will print - API debug mesages to the console + Enabling this option will print API debug mesages to the console. config SPIFFS_GC_DBG bool "Enable SPIFFS Garbage Cleaner debug" default "n" help - Enabling this option will print - GC debug mesages to the console + Enabling this option will print GC debug mesages to the console. config SPIFFS_CACHE_DBG bool "Enable SPIFFS Cache debug" default "n" depends on SPIFFS_CACHE help - Enabling this option will print - Cache debug mesages to the console + Enabling this option will print cache debug mesages to the console. config SPIFFS_CHECK_DBG bool "Enable SPIFFS Filesystem Check debug" default "n" help - Enabling this option will print - Filesystem Check debug mesages - to the console + Enabling this option will print Filesystem Check debug mesages + to the console. config SPIFFS_TEST_VISUALISATION bool "Enable SPIFFS Filesystem Visualization" default "n" help - Enable this option to enable SPIFFS_vis function - in the api. + Enable this option to enable SPIFFS_vis function in the API. endmenu -- 2.40.0