Cannot get HID example to work

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot get HID example to work

437件の閲覧回数
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 返信

421件の閲覧回数
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 件の賞賛
返信