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.

[参考译文] AM2634:在 CCS 中创建库时出现编译器错误

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1389373/am2634-compiler-errors-creating-library-in-ccs

器件型号:AM2634

工具与软件:

  1. 我在 CCS (v12)中使用 ti.CGT-ARM_20.2.7.LTS 编译器创建库时遇到问题。 我不断收到如下所示的错误、但我无法在 TI 的 portmacro.h 文件中提供的代码中看到此错误的原因、请参阅下图:

 

 

              如果您对我遇到此错误的原因有任何疑问、请告诉我;代码看起来很好、肯定没有缺失的")"方括号。 我确实尝试查看了生成的.rl 文件、作为支持论坛聊天建议的文件之一、但它没有帮助。

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

    旧版 TI Arm 编译器(与 tiarmclang )不支持 gcc 样式 ASM 语句与中第180行的语句类似 portmacro.h .  使用 TI Arm 编译器进行构建时、很可能不使用此文件。

    谢谢。此致、

    -George.