• 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

PIO ESP8266 WEB SERVER LittleFS ERROR

Q&A Forum › PIO ESP8266 WEB SERVER LittleFS ERROR
0 Vote Up Vote Down
Nestor Medina asked 3 years ago

Hi I have your boock, Building a Web Server with ESP32 & 8266…….I have an ERROR, my PIO is fine instaled, platformio.ini is configured as you had indicated, but I don’t overcome the error:
Here the ERROR:
Building in release mode
Building file system image from ‘data’ directory to .pio\build\esp_wroom_02\littlefs.bin
*** [.pio\build\esp_wroom_02\littlefs.bin] Error 3221225620

Here my PIO config:
[env:esp_wroom_02]
platform = espressif8266
board = esp_wroom_02
framework = arduino
monitor_speed = 115200
lib_deps =
ESP Async WebServer
me-no-dev/ESPAsyncTCP@^1.2.2
ottowinter/ESPAsyncWebServer-esphome@^3.0.0
board_build.filesystem = littlefs

8 Answers
-1 Vote Up Vote Down
Nestor Medina answered 3 years ago

Not yet I got answer

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Can you show me what board are you using?
Why are you using two ESP Async WebServer libraries? Use only one ESPAsyncWebServer library.
In which project are you getting that issue?
Regards,
Sara
 
 
 

0 Vote Up Vote Down
Nestor Medina answered 3 years ago

Hi Sara, thanks for your attention.
I’m using ESP8266_DevKitC_V1 it’s integrated with the ESP-WROOM-02D
OK, It’s my fault to use two ESPAsyncWebServer library, I will fixe that fault.
The project that I work is…….1.2 – Hello World Web Server
(Serve Files from Filesystem )……from your book

0 Vote Up Vote Down
Nestor Medina answered 3 years ago

This is one other warning I get when I build the main.cpp…..having only one ESP Async WebServer
In file included from .pio\libdeps\esp_wroom_02\ESP Async WebServer\src/ESPAsyncWebServer.h:27,
from .pio\libdeps\esp_wroom_02\ESP Async WebServer\src\SPIFFSEditor.h:3,
from .pio\libdeps\esp_wroom_02\ESP Async WebServer\src\SPIFFSEditor.cpp:1:
C:\Users\Nestor Medina\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/FS.h:275:15: note: declared here
275 | extern fs::FS SPIFFS __attribute__((deprecated(“SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.”)));

0 Vote Up Vote Down
Nestor Medina answered 3 years ago

With this platformio.ini…….it build OK the main.cpp….I never got errors with the main.cpp
[env:esp_wroom_02]
platform = espressif8266
board = esp_wroom_02
framework = arduino
monitor_speed = 115200
lib_deps =
ESP Async WebServer
ESPAsyncTCP
board_build.filesystem = littlefs
My problen arrive when I try to Build Filesystem Image

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi again.
What is the error you get when you try to build the filesystem?
Do you think you can choose another ESP8266 board from the list?
Regards,
Sara

0 Vote Up Vote Down
Nestor Medina answered 3 years ago

Thanks Sara for your solution, the problem was fixed changing the BOARD, my new
platformio.ini
[platformio]
default_envs = esp_wroom_02
[env:esp_wroom_02]
platform = espressif8266
board = esp12e
framework = arduino
monitor_speed = 115200
lib_deps =
ESP Async WebServer
ESPAsyncTCP
board_build.filesystem = littlefs

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Great!
I’m glad you solved the issue.
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] 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.