heap_caps_malloc vs new class #11305
Replies: 1 comment
-
ESP32 Arduino has set the IDF parameter to use malloc() for sdkconfig settings: References: |
Beta Was this translation helpful? Give feedback.
-
ESP32 Arduino has set the IDF parameter to use malloc() for sdkconfig settings: References: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
ESP-IDF provides
heap_caps_malloc
to allocate memory with specific flags. But how about construct an object withnew
keyword. For example,Person *p = new Person();
How do we specify allocating the object Person in PSRAM or in IRAM?
Beta Was this translation helpful? Give feedback.
All reactions