Skip to content

Commit 7b32aaa

Browse files
committed
spiffs: reformat Kconfig to 80 character wide lines
Some help strings looked odd in mconf.
1 parent 594d5c1 commit 7b32aaa

File tree

1 file changed

+18
-32
lines changed

1 file changed

+18
-32
lines changed

components/spiffs/Kconfig

Lines changed: 18 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,59 +5,52 @@ config SPIFFS_MAX_PARTITIONS
55
default 3
66
range 1 10
77
help
8-
Define maximum number of partitions
9-
that can be mounted.
8+
Define maximum number of partitions that can be mounted.
109

1110
menu "SPIFFS Cache Configuration"
1211
config SPIFFS_CACHE
1312
bool "Enable SPIFFS Cache"
1413
default "y"
1514
help
16-
Enables/disable memory read
17-
caching of nucleus file system
15+
Enables/disable memory read caching of nucleus file system
1816
operations.
1917

2018
config SPIFFS_CACHE_WR
2119
bool "Enable SPIFFS Write Caching"
2220
default "y"
2321
depends on SPIFFS_CACHE
2422
help
25-
Enables memory write caching for
26-
file descriptors in hydrogen.
23+
Enables memory write caching for file descriptors in hydrogen.
2724

2825
config SPIFFS_CACHE_STATS
2926
bool "Enable SPIFFS Cache Statistics"
3027
default "n"
3128
depends on SPIFFS_CACHE
3229
help
33-
Enable/disable statistics on caching.
34-
Debug/test purpose only.
30+
Enable/disable statistics on caching. Debug/test purpose only.
3531

3632
endmenu
3733

3834
config SPIFFS_PAGE_CHECK
3935
bool "Enable SPIFFS Page Check"
4036
default "y"
4137
help
42-
Always check header of each
43-
accessed page to ensure consistent state.
44-
If enabled it will increase number
45-
of reads, will increase flash.
38+
Always check header of each accessed page to ensure consistent state.
39+
If enabled it will increase number of reads from flash, especially
40+
if cache is disabled.
4641

4742
config SPIFFS_GC_MAX_RUNS
4843
int "Set Maximum GC Runs"
4944
default 10
5045
range 1 255
5146
help
52-
Define maximum number of gc runs to
53-
perform to reach desired free pages.
47+
Define maximum number of GC runs to perform to reach desired free pages.
5448

5549
config SPIFFS_GC_STATS
5650
bool "Enable SPIFFS GC Statistics"
5751
default "n"
5852
help
59-
Enable/disable statistics on gc.
60-
Debug/test purpose only.
53+
Enable/disable statistics on gc. Debug/test purpose only.
6154

6255
config SPIFFS_PAGE_SIZE
6356
int "SPIFFS logical page size"
@@ -88,9 +81,8 @@ config SPIFFS_USE_MAGIC
8881
default "y"
8982
help
9083
Enable this to have an identifiable spiffs filesystem.
91-
This will look for a magic in all sectors
92-
to determine if this is a valid spiffs system
93-
or not on mount point.
84+
This will look for a magic in all sectors to determine if this
85+
is a valid spiffs system or not at mount time.
9486

9587
config SPIFFS_USE_MAGIC_LENGTH
9688
bool "Enable SPIFFS Filesystem Length Magic"
@@ -130,45 +122,39 @@ config SPIFFS_DBG
130122
bool "Enable general SPIFFS debug"
131123
default "n"
132124
help
133-
Enabling this option will print
134-
general debug mesages to the console
125+
Enabling this option will print general debug mesages to the console.
135126

136127
config SPIFFS_API_DBG
137128
bool "Enable SPIFFS API debug"
138129
default "n"
139130
help
140-
Enabling this option will print
141-
API debug mesages to the console
131+
Enabling this option will print API debug mesages to the console.
142132

143133
config SPIFFS_GC_DBG
144134
bool "Enable SPIFFS Garbage Cleaner debug"
145135
default "n"
146136
help
147-
Enabling this option will print
148-
GC debug mesages to the console
137+
Enabling this option will print GC debug mesages to the console.
149138

150139
config SPIFFS_CACHE_DBG
151140
bool "Enable SPIFFS Cache debug"
152141
default "n"
153142
depends on SPIFFS_CACHE
154143
help
155-
Enabling this option will print
156-
Cache debug mesages to the console
144+
Enabling this option will print cache debug mesages to the console.
157145

158146
config SPIFFS_CHECK_DBG
159147
bool "Enable SPIFFS Filesystem Check debug"
160148
default "n"
161149
help
162-
Enabling this option will print
163-
Filesystem Check debug mesages
164-
to the console
150+
Enabling this option will print Filesystem Check debug mesages
151+
to the console.
165152

166153
config SPIFFS_TEST_VISUALISATION
167154
bool "Enable SPIFFS Filesystem Visualization"
168155
default "n"
169156
help
170-
Enable this option to enable SPIFFS_vis function
171-
in the api.
157+
Enable this option to enable SPIFFS_vis function in the API.
172158

173159
endmenu
174160

0 commit comments

Comments
 (0)