diff --git a/data/index.htm b/data/index.htm new file mode 100644 index 0000000..e69de29 diff --git a/littlefsbuilder.py b/littlefsbuilder.py new file mode 100644 index 0000000..ee25f4f --- /dev/null +++ b/littlefsbuilder.py @@ -0,0 +1,2 @@ +Import("env") +env.Replace( MKSPIFFSTOOL=env.get("PROJECT_DIR") + '/vendor/mklittlefs' ) \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index ef38781..a8ca913 100644 --- a/platformio.ini +++ b/platformio.ini @@ -21,9 +21,15 @@ build_flags = ${env.build_flags} -D=${PIOENV} -lib_deps = https://github.com/me-no-dev/ESPAsyncWebServer.git +lib_deps = + https://github.com/lorol/LITTLEFS.git + https://github.com/me-no-dev/ESPAsyncWebServer.git board = esp32dev board_build.partitions = partitions_custom.csv monitor_filters = esp32_exception_decoder -monitor_speed = 115200 \ No newline at end of file +monitor_speed = 115200 + +extra_scripts = ./littlefsbuilder.py + +upload_port = COM4 \ No newline at end of file diff --git a/vendor/mklittlefs.exe b/vendor/mklittlefs.exe new file mode 100644 index 0000000..aa52570 Binary files /dev/null and b/vendor/mklittlefs.exe differ