Replies: 7 comments
-
I will have a look. Thanks! |
Beta Was this translation helpful? Give feedback.
-
First you need to fix that: > pio run
SPDIFF has been deprecated and should not be used anymore. Here is a patch: littlefs.patch With this patch, everything compiles: > pio run
You might want to check your environment. I have: ~/Downloads/esp-server-test ( main → origin S:4 ?:2 ⊘ )
❯ pio --version
PlatformIO Core, version 6.1.16 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the patch, unfortunately I still get the same compilation error here. Note that I don't get the error you have regarding missing SPIFFS lib, perhaps it as to do how packages are installed on Windows... don't know. I will test on Fedora if it makes any difference. |
Beta Was this translation helpful? Give feedback.
-
No more luck on Linux. However I was able to compile and run everything by using https://github.com/pioarduino/platform-espressif32 instead of the default Espressif32 platform. |
Beta Was this translation helpful? Give feedback.
-
Try to setup a GitHub workflow to checkout and buid your project on a git push. |
Beta Was this translation helpful? Give feedback.
-
Ok! This is what I thought. This is linked to the tooling version used under the hood. There are some cache in ~/. platformio folder.... Maybe something is wrong or does not update ? I am using pioarduino also a lot so when I did a Pio run on your project, maybe PlatformIO found some more recent tooling in my cache. You should use pioarduino too because PlatformIO does not support Arduino anymore and the only way to access recent Arduino cord tooling (3.x) is by using pioarduino. |
Beta Was this translation helpful? Give feedback.
-
(moved to a discussion to keep it opened for other people) |
Beta Was this translation helpful? Give feedback.
-
Description
When compiling fot the Seeeduino Xiao ESP32C3 board, the following error happens:
I don't really understand what is going on here, the stack trace does not originate from ESPAsyncWebServer be clearly references
AsyncWebHandler
.If I remove all SPIFFS includes and usage, the same error happens at a different location:
Link: https://github.com/mistic100/esp-server-test
This is a simple server with the following features :
Board: ESP32C3
Additional notes
The error is not present when using
esphome/ESPAsyncWebServer-esphome
but this fork is less maintained and stuck to JsonArduino 6.Beta Was this translation helpful? Give feedback.
All reactions