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.
工具/软件:Code Composer Studio
您好!
我尝试使用 gcc 属性 "__attribute__((packed))"打包结构,但遇到错误:
错误1167:“struct”的属性无效。
那么、我如何对结构执行数据包呢? 我使用的是 Code Composer 版本10.0.0.00010和编译器版本 v20.2.1.LTS
遗憾的是、C28x 编译器不支持打包结构。 文章 《使用 C28x CPU 进行字节访问 》可能很有用。
谢谢、此致、
乔治