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.

[参考译文] TMS320F28.0025万:未调用驱动程序中的函数时,编译正常。 调用函数时,不定义消息中的寄存器。 这是为什么?

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

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1096459/tms320f280025-when-the-function-in-the-driver-is-not-called-the-compilation-is-normal-when-the-function-is-called-the-register-inside-the-message-is-not-defined-why-is-this

部件号:TMS320F28.0025万
主题中讨论的其他部件:C2000WARE

尊敬的专家

我在编译28.0025万小系统时遇到以下问题。

 

如果未调用驱动程序中的函数,则编译是正常的。 调用函数时,不定义消息中的寄存器。 这是为什么?

ServiceDog ()在f2.8002万X_sysctrl.c中,调用f2.8002万X_sysctrl.c (如InitPieCtrl())时也有类似的问题。 v 21.6 .0.LTS版本中使用的编译器。

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

    您好,  

    您需要将文件"C:\ti\c2000\C2000Ware_4_01_00\DEVICE_support\f28002x\headers\cources\f28002x_globalvariabledefs.c"添加2000添加到2.8002万到项目2.8002万项目中。  

    此致

    Siddharth