ESPAsyncWebServer Library Compatibility Issues with ESP32-S3 and ESP-IDF #262
ayhamalji2
started this conversation in
Support
Replies: 2 comments
-
The ESP-IDF version is 5.x now. You are still pointing to Arduino Core 2 with Did you try to switch to Arduino Core 3 with ESP-IDF 5 ?
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Converting to a support discussion - I do not see any bugs at the moment to fix. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Platform
ESP32
IDE / Tooling
PlatformIO
What happened?
Environment
What happened?
The ESPAsyncWebServer library and its dependencies are experiencing compatibility issues with newer ESP-IDF versions, specifically with the ESP32-S3 platform. The library was designed for older ESP-IDF versions and hasn't been updated to support the newer networking stack changes.
Key Issues:
ip_addr_t
structure has been updated in newer ESP-IDF versions, where the.addr
member has been replaced with.u_addr
.interrupts.h
header file is no longer available or has been moved in the current ESP-IDF version.Stack Trace
Stack Trace
1. RPAsyncTCP Library Errors
Multiple occurrences of this error in:
AsyncClient::connect(IPAddress, uint16_t)
AsyncClient::connect(const char*, uint16_t)
AsyncClient::operator==(const AsyncClient&) const
AsyncClient::_dns_found(ip_addr_t*)
AsyncClient::getRemoteAddress() const
AsyncClient::getLocalAddress() const
AsyncServer::begin()
2. ESPAsyncTCP Missing Header
Minimal Reproductible Example (MRE)
Minimal Reproducible Example (MRE)
platformio.ini
main.cpp
Steps to Reproduce:
pio run
Expected Result: Successful compilation and upload
Actual Result: Compilation fails with the errors shown in the stack trace
Impact
This issue prevents the use of ESPAsyncWebServer library on ESP32-S3 devices with current ESP-IDF versions, which is a significant limitation for projects requiring asynchronous web server functionality.
Requested Actions
ip_addr_t
structure members (.u_addr
instead of.addr
)interrupts.h
headerAdditional Context
This issue affects multiple ESPAsyncWebServer library variants and appears to be a systematic problem with the underlying TCP/Async libraries not being updated for newer ESP-IDF versions.
Note: This issue affects the entire ESPAsyncWebServer ecosystem and should be addressed at the dependency level (RPAsyncTCP, ESPAsyncTCP) as well as the main library level.
I confirm that:
Beta Was this translation helpful? Give feedback.
All reactions