PSRAM #425
-
Is psram auto in use when selected from the menu? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 6 replies
-
In my understanding it is just a precondition that you can use the related API. |
Beta Was this translation helpful? Give feedback.
-
I don't understand your question... |
Beta Was this translation helpful? Give feedback.
-
Of cause not: it is expected that memory is allocated by calling ps_malloc. |
Beta Was this translation helpful? Give feedback.
-
In my understanding you can not allocate data is psram statically... |
Beta Was this translation helpful? Give feedback.
-
Sure, if it is under your control, but sometimes you have to use external libraries and in this case heap_caps_malloc_extmem_enable is your only option... |
Beta Was this translation helpful? Give feedback.
-
heap_caps_malloc_extmem_enable is still malloc, not calloc. |
Beta Was this translation helpful? Give feedback.
-
I have figure it out where we went wrong. It's right like you discribe on your website that unfortualy the PSRAM can not be alloced in to the global variables. But that doesn't mean you can not do them in to the member list. And then see if there is psram available. And this is the answer my friend! |
Beta Was this translation helpful? Give feedback.
In my understanding it is just a precondition that you can use the related API.
You can further information on the internet: e.g. https://thingpulse.com/esp32-how-to-use-psram/