I want to use dynamic memory allocation. After searching these forums, I see the following options:
- malloc
- k_malloc
- nrf_malloc
- balloc
I haven't had success with getting any of them to work. I've found numerous references to modifying sdk_config.h, which is not a file I have in my project. (All my configurations are going through proj.conf).
What is the current best way to get some version of malloc/free working? Where and how do I define my heap size? Currently I'm getting linker errors for undefined references to nrf_mem_init, nrf_malloc, etc. I've defined CONFIG_HEAP_MEM_POOL_SIZE=8192 in my proj.conf but it doesn't make a difference.