earlephilhower / arduino-littlefs-upload

Build and uploads LittleFS filesystems for the Arduino-Pico RP2040, ESP8266, and ESP32 cores under Arduino IDE 2.2.1 or higher
MIT License
96 stars 9 forks source link

Folders #30

Closed AllenM001 closed 2 months ago

AllenM001 commented 2 months ago

This appears to copy only files on the root level. Is there any possibility that folder contents will be added? Thanks.

earlephilhower commented 2 months ago

This just calls mklittlefs which handles the filesystem filling. But in any case mklittlefs does include subdirectories automatically (note the file list shown in a quick test below):

...
Building LittleFS filesystem
/home/earle/Arduino/hardware/pico/rp2040/system/mklittlefs/mklittlefs -c /home/earle/Arduino/_/data -p 256 -b 4096 -s 65536 /tmp/tmp-1271534-UGfOKnAwVpI5-.littlefs.bin

/sub1/test
/_.ino
...