I know the nRF51 MCUs are outdated but I am having issues trying to allocate some space on the heap, and it does not appear that its a memory limitation given the size. Here are the results from the Keil compile:
Program Size: Code=28132 RO-data=1916 RW-data=500 ZI-data=6908
Yet as I step through the code during setup, I am getting calloc returning NULL. The size of the item being calloced is not large. Is there a way to configure more space on the heap? Perhaps one of the 1000's of possible parameters in the sdk.config?
I am using just SoftDevice for bluetooth and flash. I am using the latest possible version of both SoftDevice and the SDK for the nRF51x platform.