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/CC2650:将项目从 IAR 迁移到 CCS 如何在 CCS 中添加"--config_def RTOS_ROM=1"标志

Guru**** 2589265 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/611218/ccs-cc2650-migrating-project-from-iar-to-ccs-how-to-add---config_def-rtos_rom-1-flag-in-ccs

器件型号:CC2650

工具/软件:Code Composer Studio

你(们)好

我正在将项目从 IAR 迁移到 CCS,在 IAR 中,我有以下标志  --config_def RTOS_ROM=1,但我在 CCS 中找不到任何位置对其进行设置。

它应该在哪里定义?

谢谢!

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

    从读取 IAR 文档中可以看到--config_def 用于定义链接器符号。 如果是、CCS 等效选项是 linker --define 选项(可在 Project Properties->Build->Linker->Advanced Options->Command File Preprocessing 下找到)。 您可以通过单击+按钮在此处添加新符号。