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/TMS320C6678: How to write a function or code block which can be called or included in the .cfg file?

Part Number: TMS320C6678
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

CCS: 7.1

XDCTools: 3.50

CGT: 8.1.3

I have several SYSBIOS projects with different .cfg files and they all share some part of the same code blocks. I don't want to write the duplicated code whenever I created a new SYSBIOS project.

So is there any way that can help me reorganize the Javascript code in .cfg files of various project?

Is there any method or something function like #include <xxx> in C?

Is there any way that I can create my custom function in one file, and be called inside the .cfg file?