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/TMS320F280049C:尝试向同一项目添加 Driverlib 和 Bitfield 支持时、名称空间冲突2.

Guru**** 2538930 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/916735/ccs-tms320f280049c-name-space-conflict-when-trying-to-add-driverlib-and-bitfield-support-to-the-same-project-2

器件型号:TMS320F280049C
主题中讨论的其他器件:C2000WARE

工具/软件:Code Composer Studio

您好!

我在 C2000ware V3.01中得到的错误与以下错误完全相同:

https://e2e.ti.com/support/tools/ccs/f/81/t/793237?CCS-TMS320F280049C-Name-space-conflict-when-trying-to-add-Driverlib-and-Bitfield-support-to-the-same-project

这是否解决了? 应归档错误。

如何解决此问题? 我是否必须将所有.h .c 文件从 device_support\headers 复制到我的项目?

此致、

Rudy

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

    您好!

    空闲术语用于 LIN 位字段以及位字段通用文件 f28004x_sysctrl 中。

    如果要组合 driverlib 和位字段、请添加预定义符号"_dual_headers"(项目属性->编译器->预定义符号)。 请确保使用 IDLE_ASM 宏而不是 IDLE。

    此致、

    Veena

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

    您好、Veena、

    谢谢、这解决了这个问题。

    此致、

    Rudy