Skip to content

Commit

Permalink
Implemented first version of LittleFS upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Apr 11, 2022
1 parent 82c3a91 commit a6d7c92
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
Empty file added data/index.htm
Empty file.
2 changes: 2 additions & 0 deletions littlefsbuilder.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Import("env")
env.Replace( MKSPIFFSTOOL=env.get("PROJECT_DIR") + '/vendor/mklittlefs' )
10 changes: 8 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
monitor_speed = 115200

extra_scripts = ./littlefsbuilder.py

upload_port = COM4
Binary file added vendor/mklittlefs.exe
Binary file not shown.

0 comments on commit a6d7c92

Please sign in to comment.