Hello Support team,
I have an issue with two simultaneous heaps in my project. I use nrf Connect SDK 3.2.2 with the next configuration options:
Hello Support team,
I have an issue with two simultaneous heaps in my project. I use nrf Connect SDK 3.2.2 with the next configuration options:
Hi Priyanka,
Thank you for this answer. I think that the dependency in Kconfig for MCUMGR_GRP_SETTINGS_BUFFER_TYPE_HEAP is not quite correct. It relies on COMMON_LIBC_MALLOC_ARENA_SIZE > 0 condition but in implementation it uses malloc call to allocate the memory and as we see the malloc function does not come from the LibC all the time.
Anyway, any fix for heap allocation in my case needs to carry a local patch for now.
Hello,
I also have a similar situation when working with two heap memory regions in my project.
I'm using a similar SDK and have found that having two heaps concurrently causes a lot of problems, especially regarding memory management. I also want a solution to combine them into a single heap and have memory state monitoring capabilities.
If you find a solution, please share it with me!
Thank you