Skip to content

Commit a39ce29

Browse files
committed
Update reference.md
1 parent 6d1d131 commit a39ce29

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

hardware/esp8266com/esp8266/doc/reference.md

+9
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@ This method mounts SPIFFS file system. It must be called before any other
146146
FS APIs are used. Returns *true* if file system was mounted successfully, false
147147
otherwise.
148148

149+
#### format
150+
151+
```c++
152+
SPIFFS.format()
153+
```
154+
155+
Formats the file system. May be called either before or after calling `begin`.
156+
Returns *true* if formatting was successful.
157+
149158
#### open
150159

151160
```c++

0 commit comments

Comments
 (0)