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.
工具/软件:Code Composer Studio
CCS:7.1
XDC工具:3.50
CGT:8.1 .................3.
我有几个SysBIOS项目具有不同的.cfg文件,它们都共享相同代码块的某些部分。 我不想在创建新的SysBIOS项目时写入重复的代码。
有什么方法可以帮助我重新组织各种项目的.cfg文件中的JavaScript代码?
C中是否有任何方法或类似#include <xxx>的功能?
是否有任何方法可以在一个文件中创建我的自定义函数,并在.cfg文件中被调用?
您好,
您可以将公用项目放在文件中,然后使用utils.importFile("file");将其放入。 有几个论坛主题将更详细地介绍它:
e2e.ti.com/.../58.5939万
e2e.ti.com/.../16.5962万
托德