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:单元测试框架| off-target |构建配置并使用另一个编译器

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/579954/ccs-unit-testing-framework-off-target-build-configuration-and-using-another-compiler

主题中讨论的其他部件:CC3220SF

工具/软件:Code Composer Studio

尊敬的社区:

我正在尝试为我们现有的代码编写器工作室项目引入单元测试。 在第一步中,我们将使用的现有测试框架是googletest还是CppUTest,这一点无关紧要。

不管怎样,目标是有个偏离目标的运行测试代码。

是否有方法配置未在目标上运行且使用非ti-compiler (即gcc)的构建配置?

我的环境:

操作系统:Windows

CCS版本:6.20

目标:CC3220SF

感谢您的帮助,

Nico Mueller

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

    很遗憾,不是 工具链是在项目级别设置的,它不支持使用TI编译器和使用GCC进行构建配置。

    您可以在共享位置设置源,并有两个项目提取同一个源。

    此致,
    John