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.

Minimum alignment in heap

Other Parts Discussed in Thread: TMS570LC4357

Hello team TI


I just started learning dynamic memory allocation and heap concepts implemented for ARM from CCS library. I find a trouble in understanding minimum alignment concept.

What is minimum alignment in heap? As I'm a beginner, could TI e2e explain this ?

I use TMS570LC4357 and CCSv6.


Thanks in advance !

  • Sindhu,

    The heap implementation can be found in the file 'memory.c' that ships with the compiler. (Note: You may need to unzip the runtime library if it's not already unzipped to see this file.)
    Alignment considerations are explained in the comments - so that's where I'd start.