Page 1 of 1

Arduino ESP32 filesystem uploader cannot find mklittlefs.exe

Posted: Sun Oct 11, 2020 8:43 pm
by ultralex
Hello,

after installing the Arduino ESP32 filesystem uploader tool for usage with LittleFS from https://github.com/lorol/arduino-esp32fs-plugin I can select "ESP32 Sketch Data Upload" in the tools menu of the Arduino IDE, but after selecting "LittleFS" I always get the error
"LittleFS Error: mklittlefsnot found!".

In the installation notes they write:
"Copy mklittlefs[.exe] to /tools folder of esp32 platform where espota and esptool (.py or.exe) tools are located."

But I cannot locate the files espota.* or esptool.* (my system: Windows 8.1 and latest Arduino IDE 1.8.13).

I have tried different file locations for mklittlefs.exe without success, e.g.:

C:\Users\[username]\Documents\Arduino\tools\
C:\Users\[username]\Documents\Arduino\tools\ESP32FS\tool\ (where the tool itself is located and used by the IDE)
C:\Program Files (x86)\Arduino\tools\ (subdirectory of the IDE installation path)

Does anybody know where to copy mklittlefs.exe?

I would be grateful for any help!

Re: Arduino ESP32 filesystem uploader cannot find mklittlefs.exe

Posted: Mon Oct 12, 2020 8:52 pm
by ultralex
Have solved the problem. The path in my case is:
C:\Users\[my username]\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\tools\

Thank you

Re: Arduino ESP32 filesystem uploader cannot find mklittlefs.exe

Posted: Sat Jul 24, 2021 7:39 pm
by GeralltG
  1. Thanks so much for posting this fix. I'm sure it has saved me hours of head scratching, as I had exactly the same problem.