Arduino
Arduino copied to clipboard
mklittlefs/mkspiffs issues
Basic Infos
- [X] This issue complies with the issue POLICY doc.
- [X] I have read the documentation at readthedocs and the issue is not addressed there.
- [X] I have tested that the issue is present in current master branch (aka latest git).
- [X] I have searched the issue tracker for a similar issue.
- [X] If there is a stack dump, I have decoded it.
- [X] I have filled out all fields below.
Platform
- Hardware: [D1MINIPRO]
- Core Version: [c548958]
- Development Env: [Make]
- Operating System: [Ubuntu X86_64]
Settings in IDE
- Module: [Generic ESP8266 Module]
- Flash Mode: [dio]
- Flash Size: [16MB]
- lwip Variant: [v2 Lower Memory]
- Reset Method: [ck]
- Flash Frequency: [40Mhz]
- CPU Frequency: [160MHz]
- Upload Using: [OTA|SERIAL]
- Upload Speed: [115200]
Problem Description
I have 2 versions of mklittlefs in my tools/dist directory:
-
x86_64-linux-gnu-mklittlefs-69bd9e6.tar.gz This one works without issue and produces working filesystems. It also shows the filenames as they're being added to the image.
-
x86_64-linux-gnu.mklittlefs-fe5bb56.1578453304.tar.gz This one produces filesystems with no files, it never shows adding any files, and mklittlefs -l
shows an empty image.
I also have:
- x86_64-linux-gnu.mkspiffs-7fefeac.1563313032.tar.gz This one only segfaults.
I reinstalled both the tools and now everything works. Weird. Closing.
ETA: I must've had tools from an earlier release that somehow never got updated to newer versions, extracting the tar's manually fixed the issue.