Cannot get HID example to work

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

Cannot get HID example to work

449 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JDrumm on Fri Apr 09 13:08:16 MST 2010
I am trying to get the HID example to work.  I made the .ld edits identified in AN10904 and set the option in the Project to manually manage the linker script.

I continue to get an error message :

[SIZE=2][LEFT]cannot open linker script file C:/nxp/lpcxpresso_3.2/msys/lpc_tool/usbhid_Debug.ld: Invalid argument[/LEFT]
collect2: ld returned 1 exit status

I cannot figure out what the "Invalid argument" is.  Does this my .ld file has errors in it?  Or does this mean the file does not exist?   Any assistance would be appreciated.

Thanks.

[/SIZE]
0 项奖励
回复
1 回复

433 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JDrumm on Fri Apr 09 13:31:38 MST 2010
I was creating a sub-directory in the Debug directory with my edited .ld files.  When I moved this directory containing the .ld files to be at the same directory level as the Debug directory the code started linking succesfully.  I think I was correctly identifying the location with respect to the Debug directory in my first case.  Oh well, can't argue with success.
0 项奖励
回复