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.

[参考译文] TMS320F2800157:我们可以支持以下写入方法、我漏掉了哪些操作?

Guru**** 2540810 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1295664/tms320f2800157-the-following-writing-methods-we-can-support-what-operations-did-i-missed

器件型号:TMS320F2800157

您好、专家!

我要求在这里为我的客户提供帮助。

他们以前使用 ST32开发该项目、现在使用我们的 F2800157来开发该项目。 但这里有一些问题:

我还记得 我们可以支持的以下写作方法、 我错过了哪些操作?

for (int i=0;i < 10;i++)
{

循环计数器++;

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

    你好

    TI C28x 编译器默认为 ANSI C89模式。

    for (int i=0;i < 10;i++)
    {

    循环计数器++;

    [/报价]

    C89中不支持 for 循环初始化中的变量声明。 它添加在 C99中。

    您可以在工程属性中更改编译器设置以使用 C99:

    谢谢