mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
esp32 рабочая версия с little fs файловой системой
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <LITTLEFS.h>
|
||||
#define FileFS LittleFS
|
||||
#define FS_NAME "LittleFS_32"
|
||||
#define CONFIG_LITTLEFS_SPIFFS_COMPAT 1
|
||||
#else
|
||||
#include <SPIFFS.h>
|
||||
extern FS* filesystem;
|
||||
@@ -21,6 +22,9 @@ using littlefs_impl::LittleFSConfig;
|
||||
extern FS* filesystem;
|
||||
#define FileFS LittleFS
|
||||
#define FS_NAME "LittleFS_8266"
|
||||
#define FILE_READ "r"
|
||||
#define FILE_WRITE "w"
|
||||
#define FILE_APPEND "a"
|
||||
#else
|
||||
extern FS* filesystem;
|
||||
#define FileFS SPIFFS
|
||||
|
||||
Reference in New Issue
Block a user