mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Deprecate SPIFFS, move examples to LittleFS (#7263)
* Deprecate SPIFFS, move examples to LittleFS SPIFFS has been a great filesystem, but it has significant problems in many cases (and it's also pretty slow). Development seems to have slowed/stopped on the upstream version, and we're not able to provide support or fix the known issues with it as-is. Deprecate SPIFFS variable. Update all examples to use LittleFS instead of SPIFFS. Also, minor cleanup on very old examples which has obsolete delays waiting for the Serial port to come up, or which were stuck at 9600 baud because of their ancient AVR heritage. Fixes #7095 * Remove leftover debug code * Clean up comments in some examples * Update documentation on SPIFFS deprecation * Fix host tests to avoid deprecation warnings * Fix cut-n-paste error * Restore SpeedTest.ino, adjust to allow custom FSes Co-authored-by: Develo <deveyes@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9845deb283
commit
83166f948b
@ -63,6 +63,16 @@ following include to the sketch:
|
||||
|
||||
#include "FS.h"
|
||||
|
||||
SPIFFS Deprecation Warning
|
||||
--------------------------
|
||||
|
||||
SPIFFS is currently deprecated and may be removed in future releases of
|
||||
the core. Please consider moving your code to LittleFS. SPIFFS is not
|
||||
actively supported anymore by the upstream developer, while LittleFS is
|
||||
under active development, supports real directories, and is many times
|
||||
faster for most operations.
|
||||
|
||||
|
||||
SPIFFS and LittleFS
|
||||
-------------------
|
||||
|
||||
|
Reference in New Issue
Block a user