This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

is Teridian M6531 Dose not support malloc

Hello,

I am working with Teridian M6531 and I am trying to use memory allocation in my program. I was reading other forums and got the idea that init_mempool function should be used while using malloc. I did use that funtion too. But I am still not able to use malloc. It gives error when I use init_mempool function and it also gives error when I use malloc without init_mempool.

If anybody found such problem and got some solution, please let me know

Regards,
Shrenik Mehta

Parents
  • I apologize for the incomplete post. Its a 80515 MPU. I almost solve the errors i used to get (would have mentioned it if i was still getting those). I am trying to use malloc() as I have big data structures within my program. When used as a local variable, those structure utilizes some part of my RAM. So I want to dynamically allocate memory for those structures. My program is working fine and I don't want to change it completely. Otherwise I would have broke those structures in smaller once.

    Would welcome any suggestions to make my program more efficient.

    Shrenik

Reply
  • I apologize for the incomplete post. Its a 80515 MPU. I almost solve the errors i used to get (would have mentioned it if i was still getting those). I am trying to use malloc() as I have big data structures within my program. When used as a local variable, those structure utilizes some part of my RAM. So I want to dynamically allocate memory for those structures. My program is working fine and I don't want to change it completely. Otherwise I would have broke those structures in smaller once.

    Would welcome any suggestions to make my program more efficient.

    Shrenik

Children