Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit e48a770

Browse files
authored
Use default LittleFS for ESP8266
1 parent d7442d8 commit e48a770

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/ESP_WiFi_MQTT/defines.h

+4
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@
5656
// For core v1.0.6-, ESP32-C3 only supporting SPIFFS and EEPROM. To use v2.0.0+ for LittleFS
5757
#define USE_LITTLEFS false
5858
#define USE_SPIFFS true
59+
#else
60+
// For ESP8266, and other boards
61+
#define USE_LITTLEFS true
62+
#define USE_SPIFFS false
5963
#endif
6064

6165
/////////////////////////////////////////////

0 commit comments

Comments
 (0)