Hi,
I am working on application code for the nrf9160. Current NCS version is 1.5.1, although I do not think my ancient NCS version is relevant to this issue.
I have removed all k_malloc
statements (and calloc
) from my application code. I thought this would allow me to set CONFIG_HEAP_MEM_POOL_SIZE=0
in prj.conf, but setting this gives me linker errors along the line of error: undefined reference to `k_aligned_alloc'
when linking the kernel. I assume this is because setting the heap size to 0 removes these function definitions.
Is setting the heap size to zero not supported by NCS? What is a safe lower limit I can set it to? 256? Leave it undefined?
Thank you,
Fridtjof