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.

C2000 .cmd file is not flexible compared with ARM ADS scatter file

Hi,Sir!

The following cmd is a simple demo for configure memory map, it is very strange to use RamfuncsloadStart and RamfuncsLoadEnd TAG for me. it is not flexible to map the code to RAM. if you are farmiliar with ARM ADS compiler , I can easily config my code to locate at RAM or Flash and don't need to PUT

 #pragma CODE_SECTION(Rotor_StartRotor, "ramfuncs");

in my user code, I want to just reconfigure .cmd only.

Does anybody can give me some advice?

例:ramfuncs : LOAD = FLASHD,

RUN = RAML0,

LOAD_START(_RamfuncsLoadStart),

LOAD_END(_RamfuncsLoadEnd),

RUN_START(_RamfuncsRunStart),

PAGE = 0