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.

[参考译文] TMS320F280025:结构体/联合体定义中不允许使用指令

Guru**** 2558320 points
Other Parts Discussed in Thread: C2000WARE-DIGITALPOWER-SDK

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1130092/tms320f280025-instructions-not-permitted-in-structure-union-definitions

器件型号:TMS320F280025
主题中讨论的其他器件:C2000WARE-DIGITALPOWER-SDK

您好、香榭丽舍

以下是客户的紧急问题:

您能给我一些建议/说明吗?

#1.客户正在将代码从 F2802x 移植到 F28002x、他们遇到下图显示的编译器错误。  

和控制台打印以下信息:

"C:\Users\admini~1\AppData\Local\Temp\{E189B8AE-2B98-4C27-864B-23E4A7442F08}"、错误!   

在第12810行:[E0800]结构体/联合体定义中不允许使用指令

             错误                .位1             ;位字段、1位、0位偏移

#2、R_ISR 函数中未使用所有与联合体相关的定义、为什么有与非法定义相关的错误?

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

    您好!

    请参考 C2000Ware-DigitalPower-SDK 中支持的 Vienna 整流器的最新版本。 您可以使用 F28004x 作为移植到 F28002x 的起点。 该软件版本是最新版本。

    此致、

    Ozino