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.

TMS320F280025: Memory Allocation

Part Number: TMS320F280025

Tool/software:

Hi Forum

I was doing some study on universal_motorcontrol_lab_f28002x I found out that some Data  have been placed in specific location of the memory, by using , for example, #pragma DATA_SECTION(hal, "hal_data"); and 

hal_data : > RAMM1D,
LOAD_START(loadStart_hal_data),
LOAD_END(loadEnd_hal_data),
LOAD_SIZE(loadSize_hal_data)

in linker command file. My question is: is there any specific reason to manually allocate memory? why don't we leave it to Linker to decide about memory allocation?

thanks for reply

Kind regards Arash