• 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

fatal error: LittleFS.h: No such file or directory

Q&A Forum › Category: ESP32 › fatal error: LittleFS.h: No such file or directory
1 Vote Up Vote Down
John Swope asked 2 years ago

Trying to run Module 3 Unit 2: Motion Detector with Photo Capture and Email Notifications.
Using ESP32-CAM AIThinker and Arduino 1.8.19.
Using the eBook resources program and get the error: fatal error: LittleFS.h: No such file or directory.
What do I do?

4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
What is the version of your ESP32 boards installation?
Go to Tools > Board > Boards Manager, search for ESP32, and check the version.
Regards,
Sara

0 Vote Up Vote Down
John Swope answered 2 years ago

ESP32 version 1.0.6

1 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

You need to update.
 
To do that, you need to use a new URL in the Preferences (File > Preferences > Aditional Board Manager URLs).
This is the new URL:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Then, go to Tools > Board > Boards Manager > Search for ESP32. You should be able to update to version 2.0.x
 
Restart your Arduino IDE and try to compile the code again.
Let me know if this solves the issue.
Regards,
Sara

0 Vote Up Vote Down
John Swope answered 2 years ago

Hi, Sara!  Thank you so much for helping me!
I had the updated preference already installed but, it only showed the ESP32 board upgrade to 1.0.6.
Unfortunately, I also had the old reference installed!  When I removed the old reference, it let me update the ESP32 to version 2.0.7….which worked!  Thank you!
John

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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

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

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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.