File tree 4 files changed +12
-5
lines changed
4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
#ifdef ESP32
2
- #include <SPIFFS.h>
3
- #define ESPFS SPIFFS
2
+ // #include <SPIFFS.h>
3
+ // #define ESPFS SPIFFS
4
+ #include <LittleFS.h>
5
+ #define ESPFS LITTLEFS
4
6
#elif defined(ESP8266 )
5
7
#include <LittleFS.h>
6
8
#define ESPFS LittleFS
Original file line number Diff line number Diff line change
1
+ Import ("env" )
2
+ print ("Replace MKSPIFFSTOOL with mklittlefs.exe" )
3
+ env .Replace (MKSPIFFSTOOL = "mklittlefs.exe" )
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ build_flags=
14
14
; -D ENABLE_CORS
15
15
-D CORS_ORIGIN =\" http://localhost:3000\"
16
16
; Uncomment PROGMEM_WWW to enable the storage of the WWW data in PROGMEM
17
- -D PROGMEM_WWW
17
+ ; -D PROGMEM_WWW
18
18
19
19
; ensure transitive dependencies are included for correct platforms only
20
20
lib_compat_mode = strict
@@ -29,7 +29,8 @@ framework = arduino
29
29
monitor_speed = 115200
30
30
31
31
extra_scripts =
32
- pre:scripts/build_interface.py
32
+ ; pre:scripts/build_interface.py
33
+ mklittlefs.py
33
34
34
35
lib_deps =
35
36
ArduinoJson@>=6.0.0,<7.0.0
@@ -44,6 +45,7 @@ board_build.filesystem = littlefs
44
45
45
46
[env:node32s]
46
47
; Comment out min_spiffs.csv setting if disabling PROGMEM_WWW with ESP32
47
- board_build.partitions = min_spiffs.csv
48
+ ; board_build.partitions = min_spiffs.csv
48
49
platform = espressif32
49
50
board = node32s
51
+ lib_deps = LittleFS_esp32
You can’t perform that action at this time.
0 commit comments