Re: c++ application development #nrf52840

Narendar Malepu


Is there source for memory allocation using new other than k_malloc ?
Because in my application want to use memory alloation from free heap not from the heap memory pool.

On Thu, Sep 12, 2019 at 6:11 AM Peter A. Bigot <pab@...> wrote:
Dynamic memory allocation is supported in Zephyr C++, though you have to enable a source for the memory.   You should not have to define overloads for those operators.

tests/application_development/libcxx in current master is the most complete example of C++ use.  PRs 18464, 18991, and 19002 may be helpful as well.


Join to automatically receive all group messages.