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.

TMS320F280049: Put one .c file into RAM once

Part Number: TMS320F280049

Dear Champs,

I am asking this for our customer.

The user wants to move codes and data onto RAM sections of the .cmd file.

But the user thinks  

#pragma CODE_SECTION(Timer0IntIsr, ".TI.ramfunc");

#pragma DATA_SECTION(aaa, ".TI.ramfunc");

are too repetitious especially for many functions and ISRs.

Is there any way to put a whole .c file onto RAM sections including both codes and data or at least codes?

Wayne