mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Use LITTLEFS for ESP32 too
This commit is contained in:
parent
acd545f1bf
commit
4a0e6ae2bf
@ -4,20 +4,30 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* To use other flash file systems
|
* To use other flash file systems
|
||||||
*
|
*
|
||||||
* LittleFS File system
|
* LittleFS File system
|
||||||
*
|
*
|
||||||
* #include <LittleFS.h>
|
* #include <LittleFS.h>
|
||||||
* #define ESP_Mail_DEFAULT_FLASH_FS LittleFS //For ESP8266 LitteFS
|
* #define ESP_Mail_DEFAULT_FLASH_FS LittleFS //For ESP8266 LitteFS
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* FFat File system
|
* FFat File system
|
||||||
*
|
*
|
||||||
* #include <FFat.h>
|
* #include <FFat.h>
|
||||||
* #define ESP_Mail_DEFAULT_FLASH_FS FFat //For ESP32 FFat
|
* #define ESP_Mail_DEFAULT_FLASH_FS FFat //For ESP32 FFat
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define ESP_Mail_DEFAULT_FLASH_FS SPIFFS
|
// #define ESP_Mail_DEFAULT_FLASH_FS SPIFFS
|
||||||
|
|
||||||
|
#ifdef ESP8266
|
||||||
|
#include <LittleFS.h>
|
||||||
|
#define ESP_Mail_DEFAULT_FLASH_FS LittleFS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef ESP32
|
||||||
|
#include <LITTLEFS.h>
|
||||||
|
#define ESP_Mail_DEFAULT_FLASH_FS LITTLEFS
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* To use SD card file systems with different hardware interface
|
* To use SD card file systems with different hardware interface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user