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.

TMS320F280037: Multiple CLA files(*.cla) coexist in one project.

Part Number: TMS320F280037


I am developing C2000 CLA as a software driver component which can be configured and integrated in different applications. Current CLA example projects define only one *.cla file. I'm wondering whether the following design works or not.

Define two *cla files. In one *.cla file define all 8 CLA tasks. In another *.cla file, define the specific CLA task callback functions per the applications.

Ex. 

In ClaTask.cla

interrupt void ClaTask1(void)

{

     ClaTask1CallbackFucntion();

}

In ClaTask_Stub.cla, define the callback function.

void  ClaTask1CallbackFucntion(void)

{

.......................

}

If it works, file "ClaTask.cla" can be a generic CLA file and "ClaTask_Stub.cla" can be application specific file. The main purpose is to find a way to remap CLA callback functions in RAMLS at CLA init.

Any inputs would be appreciated.

Thanks for the supports.