Possibly error in USB_HID example

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

Possibly error in USB_HID example

354 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jokn on Sat Dec 29 09:26:30 MST 2012
I just trying out the USB_HID example from the lpc43xx CMSID Library
>> lpc43xx CMSIS Library\2012-05-31\Examples\USBDEV_ROM\Usb_Hid  >>

I just trying out the USB_HID example from the lpc43xx CMSID Library V2012-05-31.
lpc43xx CMSIS Library\2012-05-31\Examples\USBDEV_ROM\Usb_Hid

In the file usbd_hid.c inside the function
ErrorCode_t usb_hid_init(USBD_HANDLE_T hUsb, USB_INTERFACE_DESCRIPTOR* pIntfDesc, uint32_t* mem_base, uint32_t* mem_size)

I found this two assignments:
  hid_param.mem_base = *mem_base;
  hid_param.mem_size = *mem_base;

I suppose the second assignments must be
  hid_param.mem_size = *mem_size;

Did anyone tried this example?
标签 (1)
0 项奖励
2 回复数

336 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jokn on Thu Jan 03 05:11:13 MST 2013
Thank you very much. By now  I checked out the latest version from the git repository
0 项奖励

336 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lgentili on Mon Dec 31 16:15:33 MST 2012
This was fix on git:

http://sw.lpcware.com/index.php?p=lpc43xx.git&a=commitdiff&h=c7a807a5c4f05ea3f7c0ae263e5f76be5e51c42...

Checkout git sources to have the lastest fixes and improvements.

0 项奖励