CCS版本:6.1
DSP:28377D
问题:移植EtherCAT从站代码,代码中带有巨多的__attribute__((aligned(1), packed))宏定义,在CCS6.1上也勾选了GCC选项(Build->advanced options->language options->enable support for gcc externsions),重新编译后仍旧存在如下提示:
\EtherCAT\include\esc.h", line 167: error #1167: invalid attribute for "struct <unnamed>"
难道C2000不支持__attribute__编译么??