Add support for LittleFS

This commit is contained in:
fvanroie 2020-11-25 13:41:52 +01:00
parent 23448f3c86
commit 5ec7e1b45e

View File

@ -94,6 +94,8 @@
#endif #endif
/* Includes */ /* Includes */
#include <Arduino.h>
#if HASP_USE_SPIFFS > 0 #if HASP_USE_SPIFFS > 0
#if defined(ARDUINO_ARCH_ESP32) #if defined(ARDUINO_ARCH_ESP32)
#include "SPIFFS.h" #include "SPIFFS.h"
@ -104,7 +106,7 @@
#if HASP_USE_LITTLEFS > 0 #if HASP_USE_LITTLEFS > 0
#if defined(ARDUINO_ARCH_ESP32) #if defined(ARDUINO_ARCH_ESP32)
#include <LITTLEFS.h> #include "LITTLEFS.h"
#endif #endif
#include <FS.h> // Include the FS library #include <FS.h> // Include the FS library
#include "hasp_filesystem.h" #include "hasp_filesystem.h"