mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 20:09:14 +03:00
ESP32 LittleFS System Image
This commit is contained in:
@@ -17,6 +17,7 @@ framework = arduino
|
|||||||
[env:esp32]
|
[env:esp32]
|
||||||
platform = https://github.com/platformio/platform-espressif32.git
|
platform = https://github.com/platformio/platform-espressif32.git
|
||||||
build_flags = ${env.build_flags} -D=${PIOENV}
|
build_flags = ${env.build_flags} -D=${PIOENV}
|
||||||
|
extra_scripts = ./tools/littlefsbuilder.py
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_build.partitions = partitions_custom.csv
|
board_build.partitions = partitions_custom.csv
|
||||||
monitor_filters = esp32_exception_decoder
|
monitor_filters = esp32_exception_decoder
|
||||||
|
|||||||
2
tools/littlefsbuilder.py
Normal file
2
tools/littlefsbuilder.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Import("env")
|
||||||
|
env.Replace( MKSPIFFSTOOL=env.get("PROJECT_DIR") + '/tools/mklittlefs.exe' )
|
||||||
BIN
tools/mklittlefs.exe
Normal file
BIN
tools/mklittlefs.exe
Normal file
Binary file not shown.
Reference in New Issue
Block a user