USB projects fail to compile -- TWR-MCF5441X

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB projects fail to compile -- TWR-MCF5441X

812 次查看
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?

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

646 次查看
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 项奖励
回复