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.

TMS320F28377D: what is the isr.cmd for?

Part Number: TMS320F28377D

Dear all,

I found there is a isr.cmd in projects of the official examples. My question is:

1) what's the isr.cmd for. is it working as a accessory definition of main CMD file? for example, only assign a ram for running interrupt functions

2) My project already has a .TI.ramfunc section for using ram for interrupt functions. In this case, should I just ignore the isr.cmd or just remove the file from project.

.TI.ramfunc section:

#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
//.TI.ramfunc : {} > RAMM0, PAGE = 0
.TI.ramfunc : {} > RAMLS0 | RAMLS1 | RAMLS2 | RAMGS13 , PAGE = 0 //---xhf,coordinating with flash
#else
ramfuncs : > RAMM0 PAGE = 0
#endif
#endif

"isr.cmd": 

MEMORY
{
PAGE 0 : /* Program Memory */

PAGE 1 : /* Data Memory */

}

/*
Allocate sections to memory blocks.
*/

SECTIONS
{

/* Allocate program areas: */

isrfunc : LOAD = RAMD0 | RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4,
RUN = RAMGS14, // good, cpu02 hasing the ramgs14
LOAD_START(_isrfuncLoadStart),
LOAD_END(_isrfuncLoadEnd),
RUN_START(_isrfuncRunStart),
LOAD_SIZE(_isrfuncLoadSize),
PAGE = 0

}