Page 1 of 1

SPIRAM pSRAM malloc support added to esp-idf

Posted: Tue Oct 03, 2017 3:22 am
by hassan789
Looks like esp team has added malloc support for psram, as of this commit:

Code: Select all

https://github.com/espressif/esp-idf/commit/ca7da78bc769cfb6f49a5909abd07e0b06439c66
latest doc:

Code: Select all

https://github.com/espressif/esp-idf/blob/master/docs/api-guides/external-ram.rst
:D

Re: SPIRAM pSRAM malloc support added to esp-idf

Posted: Tue Oct 03, 2017 4:01 am
by WiFive
I think some care is needed with this because there are still things using plain malloc that may be dma or isr and need to convert to heap_caps_malloc.

Re: SPIRAM pSRAM malloc support added to esp-idf

Posted: Tue Oct 03, 2017 9:20 am
by ESP_Sprite
Agreed. We're working on getting this build in our CI workflow, and we're sure some issues will pop up then.