• 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 examples do not work on ESP8266 (PlatformIO)

Q&A Forum › Category: ESP8266 › LittleFS examples do not work on ESP8266 (PlatformIO)
0 Vote Up Vote Down
Daniel Cardin asked 1 year ago

After doing further tests while waiting for help with my previous question about Module 3 section 4.1, I tested out Module 3 section 1.2 “Serve Files from Filesystem” and am experiencing the same issue as my previous post.
There are no errors when compiling or uploading, and I have copied the code exactly (both main.cpp and platformio.ini, as well as the files in data folder). However, after I get the wifi connection and ip address displayed in the serial monitor, as well as “LittleFS mounted successfully” I navigate to my browser and type in the ip address: I get an error page that says “this page cant be found.”
Only the web server examples that do not use littlefs appear to work. I am hoping someone can give some sort of direction here or some explanation of the issue.

Thanks,
Dan

 

Update – now it is working after exiting VS Code and uploading again. Now to find out why this is working and section 4.1 example is not….

Question Tags: ESP8266, filesystem, LittleFS
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

This issue was solved: https://rntlab.com/question/module-3-section-4-1-failed-to-open-file-for-reading/
 

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] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition 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.