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.

[参考译文] TMS320F28379D:使用 CCS 变量预编译/编译后批处理文件命令

Guru**** 2551110 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1342503/tms320f28379d-pre-post-build-batch-file-command-using-ccs-variables

器件型号:TMS320F28379D

您好!

在编译 I 运行编译后命令期间:

"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin "${BuildArtifactFileName}""${BuildArtifactFileBaseName}.bin""${CG_TOOL_ROOT}/bin/ofd2000 "${CG_TOOL_ROOT}/bin/hex2000 "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin "

但是,当我把这一行放在一个批处理文件中,并尝试运行它时,我得到错误:

Makefile:261:目标"编译后"的配方失败
"${CCS_INSTALL_ROOT}"未被识别为内部或外部命令、
可操作的程序或批处理文件。
gmake[1]:[post-build]错误1 (已忽略)

在预编译/编译后处理步骤中、是否有办法在批处理文件中使用 CCS 变量?

此致