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文件中的宏定义



在cmd文件中出现的宏定义,是否可以在properties->build->Advanced Options->Predefine Symbol中定义

#ifdef CLA_C
/* CLA C compiler sections */

CLAscratch :
{ *.obj(CLAscratch)
. += CLA_SCRATCHPAD_SIZE;
*.obj(CLAscratch_end) } > RAMLS1, PAGE = 1

/* .scratchpad : > RAMLS1, PAGE = 1*/
.bss_cla : > RAMLS1, PAGE = 1
.const_cla : > RAMLS1, PAGE = 1
#endif

如以上代码中的CLA_C,能否在上述路径中设置?