This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52832 (SDK 11.0.0): Best way to reduce the Heap Size to 0 bytes

Hi All,

Our application WILL NEVER dynamically allocate memory and thus we'll never need to use the heap. Currently, our SDK carves out 8K of memory for the heap in "gcc_startup_nrf52.s". Which file do I have to modify in order to zero out the heap size? I'm currently inspecting the .map file in order to observe our heap's usage. Our application needs more RAM!

Thanks!

Related