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.
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?
Hi,
You can put the common items in a file and then use utils.importFile("file"); to bring it in. There are a couple forum threads that cover it in more detail:
e2e.ti.com/.../585939
e2e.ti.com/.../165962
Todd