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
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
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
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.”)));
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
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
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