|
5 年之前 | |
---|---|---|
examples | 5 年之前 | |
src | 5 年之前 | |
LICENSE | 5 年之前 | |
README.md | 5 年之前 | |
library.json | 5 年之前 | |
library.properties | 5 年之前 |
For esp32-core, newer than release 1.0.4 (IDF v3.3 or later) you can comment this line of esp_littlefs.c to use the vfs_littlefs_utime feature:
#define CONFIG_LITTLEFS_FOR_IDF_3_2
In your existing code, replace SPIFFS like this
#define USE_LittleFS
#include <FS.h>
#ifdef USE_LittleFS
#define SPIFFS LITTLEFS
#include <LITTLEFS.h>
#else
#include <SPIFFS.h>
#endif
<home_dir>/Arduino/tools/ESP32LittleFS/tool/esp32littlefs.jar
).