SPIRAM pSRAM malloc support added to esp-idf

User avatar
hassan789
Posts: 156
Joined: Thu Jun 29, 2017 2:15 am

SPIRAM pSRAM malloc support added to esp-idf

Postby hassan789 » Tue Oct 03, 2017 3:22 am

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

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: SPIRAM pSRAM malloc support added to esp-idf

Postby WiFive » Tue Oct 03, 2017 4:01 am

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.

ESP_Sprite
Posts: 9761
Joined: Thu Nov 26, 2015 4:08 am

Re: SPIRAM pSRAM malloc support added to esp-idf

Postby ESP_Sprite » Tue Oct 03, 2017 9:20 am

Agreed. We're working on getting this build in our CI workflow, and we're sure some issues will pop up then.

Who is online

Users browsing this forum: No registered users and 123 guests