-
-
Notifications
You must be signed in to change notification settings - Fork 739
Closed
Labels
Description
Right now the only support filesystem builder tool is SPIFFS via mkspiffs
platform-espressif32/builder/main.py
Lines 167 to 168 in 6c30a4a
MKSPIFFSTOOL="mkspiffs_${PIOPLATFORM}_" + ("espidf" if "espidf" in env.subst( | |
"$PIOFRAMEWORK") else "${PIOFRAMEWORK}"), |
platform-espressif32/builder/main.py
Lines 196 to 208 in 6c30a4a
DataToBin=Builder( | |
action=env.VerboseAction(" ".join([ | |
'"$MKSPIFFSTOOL"', | |
"-c", "$SOURCES", | |
"-p", "$SPIFFS_PAGE", | |
"-b", "$SPIFFS_BLOCK", | |
"-s", "$SPIFFS_SIZE", | |
"$TARGET" | |
]), "Building SPIFFS image from '$SOURCES' directory to $TARGET"), | |
emitter=__fetch_spiffs_size, | |
source_factory=env.Dir, | |
suffix=".bin" | |
) |
this should be expanded so that, as for the ESP8266 other filesystems are supported. Per https://github.com/lorol/arduino-esp32fs-plugin and Arduino-ESP32, SPIFFS, LittleFS and FFat filesystems are supported.
For generation of the image, analogue to mkspiffs
and mklittlefs
, the tool mkfatfs
may be usable. The version used in the Arduino IDE is at https://github.com/lorol/arduino-esp32fatfs-plugin/tree/master/extra (refer package for mkfatfs)