mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-04-29 10:23:27 +02:00
LittleFS, on ESP32, too. see my library and tool plus the core conversation:
https://github.com/lorol/arduino-esp32littlefs-plugin https://github.com/lorol/LITTLEFS https://github.com/espressif/arduino-esp32/issues/3765 #include <FS.h> #define SPIFFS LITTLEFS #include <LITTLEFS.h>
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
#define USE_LittleFS // possible only for ESP8266 for now
|
||||
|
||||
#include <ArduinoOTA.h>
|
||||
|
||||
#ifdef ESP32
|
||||
#include <FS.h>
|
||||
#include <SPIFFS.h>
|
||||
#include <ESPmDNS.h>
|
||||
#include <WiFi.h>
|
||||
#include <AsyncTCP.h>
|
||||
#include <FS.h>
|
||||
#ifdef USE_LittleFS
|
||||
#define SPIFFS LITTLEFS
|
||||
#include <LITTLEFS.h>
|
||||
#else
|
||||
#include <SPIFFS.h>
|
||||
#endif
|
||||
#include <ESPmDNS.h>
|
||||
#include <WiFi.h>
|
||||
#include <AsyncTCP.h>
|
||||
#elif defined(ESP8266)
|
||||
#ifdef USE_LittleFS
|
||||
#include <FS.h>
|
||||
|
||||
Reference in New Issue
Block a user