Replies: 1 comment
-
|
@lsroka76 : moving that to a support ticket for now. I didn't see any indication of a library issue, stack or MRE or anything proving there is a bug in AsyncTCP. Can you put the stack trace please ? Also, this is possible that the way AsyncTCP (and lwip layer) work to allocate memory, this is not possible. By the way, way do you want to put memory allocation of a critical network library like AsyncTCP in PSRAM ? This is just asking for troubles.... Using PSRAM for data makes sense (mp3, images, video, big html resources, etc), but for a low level network lib who is not doing a lot of memory allocations, I doubt you will have any gain from that.... PSRAM is also about 24x slower... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
IDE / Tooling
Arduino (IDE/CLI)
What happened?
I've built custom version of Arduino Core libs for ESP32 C5 with config flag CONFIG_SPIRAM_XIP_FROM_PSRAM=y using Arduino Lib Builder.
Program starts normally, connects to WiFi but while starting AsyncWebServer there is error message from AsyncTCP about failed begin followed by immediate core dump.
Stack Trace
begin error
Minimal Reproductible Example (MRE)
as above
I confirm that:
Beta Was this translation helpful? Give feedback.
All reactions