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.

CCS/TMS320F28379S: Allocating many functions to RAM

Part Number: TMS320F28379S

Tool/software: Code Composer Studio

Hello,

Could you please advise how to put the ramfunc attribute to tens of C functions? Or how to set the default location of the C functions to RAM?


My customer hesitate to put the line "__attribute__((ramfunc))" to the head of the many functions.


We have studied the C compiler manual and already succeeded to set it to several functions.

My idea would be the following, but TI would have a better solutions:

[My idea]

# Define the --ramfunc option. Or allocate the .text to RAM.

# allocate some programs like c_int00 and main(), and InitSysCtrl() to flash.