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.

TMS320F28388D: #pragma to load a function into a particular section of the RAM

Part Number: TMS320F28388D

Hello Ti,

Can we place two #pragmas at the beginning of a function, so that the function can we loaded into 2 RAM locations:

For example:

#pragma CODE_SECTION(counterforcpu, "ramfuncs");

#pragma CODE_SECTION(counterforcpu, "ramfuncsforcpu2");
void counterforcpu(void)
{
gCounterforcpu++;
}

Would this load the function into two different RAM locations?