-
I'm developing on esp32s3 and have lots of PSRAM available but still short on memory. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I think the task-arena is always allocated on the stack and the stack shouldn't live in PSRAM We currently don't support static data in PSRAM for a couple of reasons. The linker scripts don't create a segment for PSRAM IIRC (since the PSRAM size is detected at runtime this would be a problem) so you can also not have uninitialzed data there - basically, you need |
Beta Was this translation helpful? Give feedback.
You can see a similar solution at https://github.com/card-io-ecg/card-io-fw/tree/main/embassy-alloc-taskpool