Hi,
We have been working on USB issues and noted that after importing the StarterWare usblib into Code Composer 5.2.1 and rebuilding the library, we see numerous semantic errors, yet the library is built. Here is a list of the errors during the build:
Description Resource Path Location Type
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 92 Semantic Error
Symbol 'pInterface' could not be resolved usbhmsc.c /usblib line 93 Semantic Error
Symbol 'pInterface' could not be resolved usbhmsc.c /usblib line 117 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 127 Semantic Error
Symbol 'pInterface' could not be resolved usbhmsc.c /usblib line 128 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 134 Semantic Error
Field 'bmAttributes' could not be resolved usbhmsc.c /usblib line 142 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 142 Semantic Error
Field 'bEndpointAddress' could not be resolved usbhmsc.c /usblib line 148 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 148 Semantic Error
Field 'wMaxPacketSize' could not be resolved usbhmsc.c /usblib line 156 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 156 Semantic Error
Field 'wMaxPacketSize' could not be resolved usbhmsc.c /usblib line 162 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 162 Semantic Error
Field 'bEndpointAddress' could not be resolved usbhmsc.c /usblib line 164 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 164 Semantic Error
Field 'wMaxPacketSize' could not be resolved usbhmsc.c /usblib line 175 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 175 Semantic Error
Field 'wMaxPacketSize' could not be resolved usbhmsc.c /usblib line 181 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 181 Semantic Error
Field 'bEndpointAddress' could not be resolved usbhmsc.c /usblib line 183 Semantic Error
Symbol 'pEndpointDescriptor' could not be resolved usbhmsc.c /usblib line 183 Semantic Error
Field 'bmRequestType' could not be resolved usbhmsc.c /usblib line 292 Semantic Error
Field 'bRequest' could not be resolved usbhmsc.c /usblib line 298 Semantic Error
Field 'wValue' could not be resolved usbhmsc.c /usblib line 299 Semantic Error
Field 'wIndex' could not be resolved usbhmsc.c /usblib line 304 Semantic Error
Field 'wLength' could not be resolved usbhmsc.c /usblib line 309 Semantic Error
The project has not been modified. It seems that there is some issue with the structures tEndpointDescriptor and tInterfaceDescriptor but the structure is defined in usblib.h and that .h file is included in the project path.
Has anyone seen this ?
Thanks,
John C.