USB projects fail to compile -- TWR-MCF5441X

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB projects fail to compile -- TWR-MCF5441X

802 Views
kdavis
Contributor III

CW v10.2      MQX 3.8    TWR-MCF5441X

 

Any time I try to compile a project using USB I get the following three errors, for all other projects I compile fine:

 

 

Description Resource Path Location Type
Link failed. USB_PROJ C/C++ Problem
mingw32-make: *** [USB_PROJ.elf] Error 1 USB_PROJ C/C++ Problem
Undefined : "class_interface_map" Referenced from "usb_host_map_class_intf" in USB_PROJ C/C++ Problem

 

 

This includes on the sample projects that are supposed to compile and run without problem, can anyone help me with why this might be happening?

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

636 Views
MLM
Contributor I

I had the same problem....

 

Add usb_classes.h and usb_classes.c to the usb_hdk_twrk60n512 (or processor correct) project and recompile.  The deffinition for the .h file is in the .c file which is causing your problems.

 

Good luck!

0 Kudos
Reply