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:f28p65x_device.h 中出现错误"_TMS320C28XX_CLA_"

Guru**** 2460850 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1505647/tms320f28p650dk-error-in-f28p65x_device-h-_tms320c28xx_cla_

器件型号:TMS320F28P650DK

工具/软件:

大家好:

我目前正在处理一个使用 CLA 的工程、发现f28p65x_device.h文件中有一个小拼写错误。 该符号_TMS320C28XX_CLA_在该文件中仅用一个下划线编写、而其他任何地方都使用两个下划线。 我想指出一下、以防它对其他人有所帮助!

#ifndef  EALLOW
#ifndef _TMS320C28XX_CLA_
#define  EALLOW __eallow()
#else
// NOTE: this line generates warning when cla is programmed in asm
#define  EALLOW __meallow()
#endif // _TMS320C28XX_CLA_
#endif // EALLOW
 
#ifndef  EDIS
#ifndef _TMS320C28XX_CLA_
#define  EDIS   __edis()
#else
// NOTE: this line generates warning when cla is programmed in asm
#define  EDIS   __medis()
#endif // _TMS320C28XX_CLA_
#endif // EDIS

谢谢!

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

    尊敬的 Sebastian:

    感谢您告诉我们。 我将让我们的软件团队进一步研究这一差异。 如果有任何混淆、请参阅第2.5.1节"预定义宏名称"以了解对支持的宏的说明。  

    https://www.ti.com/lit/ug/spru514z/spru514z.pdf

    此致、

    Ozino