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.

Memory Management on 2650

Other Parts Discussed in Thread: CC2650

I am running out of space to declare variables on cc2650. I figure this out when I am trying to allocate space for declaring a 2-D array.


data = (uint8_t **)malloc(8*sizeof(uint8_t *));

//dynamically allocating memory to for each bucket of the main pointer
for(i = 0; i < 8 ; i++)
{
	data[i] = (uint8_t *)malloc(16*sizeof(uint8_t));
}

the code get stuck in the loop while allocating space . When I allocate space for 4 instead of 8 it works. Is there a way to allocate more memory space to the application.