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.

[参考译文] TMS320F28P650DK:将 C++与 C 库配合使用、并在具有 CLA 的 F28P65上使用 DriverLib

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1508862/tms320f28p650dk-using-c-with-c-libraries-and-driverlib-on-f28p65-with-cla

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

工具/软件:

您好 e2e 团队:

我们计划使用 F28P65启动一个新项目、并打算使用 CLA (控制律加速器)。 代码将用 C++编写、但我们需要包括一些用 C 编写并包含.c 和.h 文件的库。 我的问题是:

  1. 当工程包含 C 库时、是否可以在 C++中编译工程?

  2. CLA 是否支持 C++?

  3. CLA 需要编译为单独的工程、还是可以集成到主工程中?

  4. C2000Ware 中是否有任何示例演示了如何使用 C++?

  5. driverlib 是否适用于 C++?

提前感谢您。

此致、

Thao Truong