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