Other Parts Discussed in Thread: HALCOGEN
硬件RM48 HDK
开发环境为CCS5.5
编译器版本TI V5.1.5
编译设置都为默认值
Holcogen生成的usblib.h 中的预编译语句#define PACKED __attribute__ ((packed)) 无法通过编译
导致如下结构体定义:
typedef struct
{
}PACKED tUSBRequest;
编译报错:error #80: expected a type specifier
error #258: invalid redeclaration of type name "__attribute__"
error #66: expected a ";"
请问还需要做什么特别的设置吗?谢谢!