From bc8fb7ed5159e78f4cba35e07bf8cb18a7925320 Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Sat, 5 Mar 2022 17:15:44 -0500 Subject: [PATCH] Use default `LittleFS` for ESP8266 --- examples/ESP_WiFi/defines.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/ESP_WiFi/defines.h b/examples/ESP_WiFi/defines.h index 4e9a6e5..003dd69 100644 --- a/examples/ESP_WiFi/defines.h +++ b/examples/ESP_WiFi/defines.h @@ -62,6 +62,10 @@ // For core v1.0.6-, ESP32-C3 only supporting SPIFFS and EEPROM. To use v2.0.0+ for LittleFS #define USE_LITTLEFS false #define USE_SPIFFS true +#else + // For ESP8266, and other boards + #define USE_LITTLEFS true + #define USE_SPIFFS false #endif /////////////////////////////////////////////