This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SimpleBLEPeripheral heapSize calculation

Hi,

Can anybody explain about how the heap size for memory allocation is fixed to 1668. In configuration file I can see this has been set to 1668.


/* Create a small heap */
BIOS.heapSize = 1668;

I tried changing the some random values and loaded the sample program in target device, with some values close to 1668 was working. But can anyone please explain how this value has been calculaed