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.

在.cmd文件中加判断语句?

Other Parts Discussed in Thread: TMS320C6678

DSP芯片信号:TMS320C6678;

编译器:CCSv5.4

问:能否在.cmd文件中加入判断语句?

详细描述:

由于项目应用,需要两个处理核使用同样的工程,但由于工程中的变量和数组占用的空间较大,考虑通过编写cmd文件将.far字段放入共享存储器中,考虑到程序可移植性,需两个工程使用同一个cmd文件,这就需要在.cmd文件中判断不同的处理核,以将两个处理核的.far字段放在互不重叠的存储区域,请问能否实现在.cmd文件中加入这样的判断语句?