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.

[参考译文] CCS/CC1352R:如何将定义添加到预处理器

Guru**** 2561930 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/979337/ccs-cc1352r-how-to-add-defines-to-the-preprocessor

器件型号:CC1352R

工具/软件:Code Composer Studio

我使用的是 CCS 10.1。 如何将系统级-D 定义添加到编译中?

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

    Ken、

    如果转到项目的属性、您可以在 Arm Compiler -> Predefined Symbols 下设置-D 选项

    此致、

    John