cc2411和IAR FOR 8051 8.3版本兼容问题
时间:12-23
整理:3721RD
点击:
hi
各位大牛,问一下,现在cc2511的HID历程(swrc088c),用老版本编译(7.51a)可以,新的版本出现
Error[Pe147]: declaration is incompatible with "struct <unnamed> usbDescriptorMarker" (declared at line 24) C:\Users\Administrator\Desktop\Design02\new1\source\Components\usb\class_hid\usb_firmware_library_config.c 24
IAR 配置问题?你把 Line 24 的内容也贴出来看看吧。
hi
Nutcracker
:line24
USB_DESCRIPTOR_MARKER usbDescriptorMarker= {
(uint8 __code *)&usbDescStart,
(uint8 __code *)&usbDescEnd,
(DESC_LUT_INFO __code *) &usbDescLut,
(DESC_LUT_INFO __code *) &usbDescLutEnd,
(DBLBUF_LUT_INFO __code *) &usbDblbufLut,
};