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.

TDA4VM: How to allocate memory in mcusw in psdk7.02?

Part Number: TDA4VM

Hi,

I want to allocate memory in mcusw in psdk7.02. I tried malloc but it return 0. So is there an API in platform like appMemAlloc ? Which function should I use ?

	// size is 573728
	void* p;
	p = malloc(size);
	AppUtils_Printf(MSG_NORMAL, "memory allocate size %u, pointer %p\n", size, p);

running result:

memory allocate size 573728, pointer 0

Regards