heap_caps_malloc vs new class #11305
Unanswered
bhcuong2008
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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