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.

[参考译文] TMS320F280039C-Q1:标识符"uint16_t"未定义

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

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1335204/tms320f280039c-q1-identifier-uint16_t-is-undefined

器件型号:TMS320F280039C-Q1
主题中讨论的其他器件:C2000WARE

您好!

你好! 我将把280039 STL 库添加到我的应用文件中。 在我 的应用程序代码中添加 f28003x_diagnostic_stl_release.lib 并添加了一些 include 文件后、出现了错误:"C:/software/c2000ware5.0.0.0/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib/inc/hw_types.h、第80行:错误#20:标识符"uint16_t"未定义
"C:/software/c2000ware5.0.0.0/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib/inc/hw_types.h "、第81行:错误#20:标识符"int16_t"未定义
2在"../LLC_HHC_hal.c"的编译中检测到错误。
gmake:***[LLC_HHC_hal.obj] Error 1" 出现。  

我已将以下文件包含在我的项目中:

如果我单击"uint16_t"或"int16_t"、它可以跳转到"_stdint.h"。

我感到困惑、为什么会出现这个问题。 您可以帮助解决此问题吗?

谢谢!!

奇田市

奇田市

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

    Kita,  

    是否 包含了任何其他导致此错误的 hw_types.h 文件?

    此致

    西达尔特