• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

LittleFS Error: mklittlefs not found!

Q&A Forum › Category: Arduino › LittleFS Error: mklittlefs not found!
0 Vote Up Vote Down
Stephen Harrison asked 2 months ago

I am getting the title line error when attempting to upload a file to my esp8266 board via the Arduino IDE. I believe I have followed the instructions and I cannot find anything to help resolve this issue.

10 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi.
What menu do you have in the Arduino IDE to upload files?
Does it say “ESP8266 LittleFS Data Upload”?
Regards,
Sara

0 Vote Up Vote Down
Stephen Harrison answered 2 months ago

Correct

0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi again.
Do you have more information about the error?
Can you try installing the latest version of the LittleFS plugin if you haven’t already: https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/blob/master/README.md?
Regards,
Sara

0 Vote Up Vote Down
Stephen Harrison answered 2 months ago

As per the ebook Build Web Servers esp32 esp8266, it goes through this progression.
install Arduino IDE – had it prior to ebook
install ESP8266 addons – board has been installed prior to ebook
setup to use LittleFS: get the latest code. I downloaded ESP8266LittleFS-2.6.0 I created this folder path as it did not exist: >/tools/ESP8266FS/tool/. I unzipped the .jar file to this location and started up the Arduino IDE. It then says to open a blank sketch and save it. I then went to that sketch, created a data folder and made a text file within it. I complied the sketch. I then changed the flash size to 4M (1M SPIFFS). After that, I hit the EPS8266 LittleFS Data Upload and I get the error in the compile window.
 

0 Vote Up Vote Down
Stephen Harrison answered 2 months ago

I did download this zip file but saw no mention of having to use it. arduino-esp8266littlefs-plugin-2.6.0

0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi again.
Can you tell me the complete path where you created the tools folder?
Regards,
Sara

0 Vote Up Vote Down
Stephen Harrison answered 2 months ago

Thanks for trying to help resolve this issue!

C:\Users\Stephen\Documents\Arduino\tools\ESP8266LittleFS\tool

0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi.
It seems that you did everything right.
I don’t know why it is not working as expected.
Meanwhile, I found an issue with that same error on the Plugin GitHub page. Maybe you can post your case there too. 
Here’s the link:
https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/15
I hope they can help you.
Otherwise, I recommend uninstalling everything, including your Arduino IDE installation, and start from the beginning.
Regards,
Sara

0 Vote Up Vote Down
Stephen Harrison answered 2 months ago

Hi Sara. I finally found the solution. I installed the core according to this website:
https://arduino-esp8266.readthedocs.io/en/latest/installing.html#using-git-version
Just thought I would share in case someone else asked a similar question

0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi.
That’s great!
I’m glad you found the solution, and thanks for sharing!
This can be useful for others too.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Download Build Web Servers with ESP32 and ESP8266 (2nd Edition) February 8, 2021
  • [eBook Released] Build Web Servers with ESP32 and ESP8266 (version 1.0) October 27, 2020

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2021 · RandomNerdTutorials.com · All Rights Reserved