summaryrefslogtreecommitdiff
path: root/components/drivers/usb/usbdevice/core
AgeCommit message (Collapse)Author
2013-06-29reformat the coding style in usbdevice/core/core.cyiyue.fang
2013-06-28Embedded GPLv2 license in driversyiyue.fang
2013-06-15udisk can be ejectheyuanjie87
2013-06-11usbdevice/core: cope with some buggy drivers on USB_MSG_DATA_NOTIFYGrissiom
Some driver will emit USB_MSG_DATA_NOTIFY before the USB get configured. Filter out those events.
2013-06-06usb: add USB_MSG_PLUG_OUT eventGrissiom
When the core received an USB_MSG_PLUG_OUT event, it will stop all the classes. This make a chance that the classes could get rid off doing useless stuff while the USB cable is plugged out.
2013-05-30return correct length of LangID string to hostheyuanjie87
2013-05-25Merge pull request #95 from grissiom/vcomqiuyiuestc
usbdevice/core: add reset function to support hotplug
2013-05-25usbdevice/core: add reset function to support hotplugqiuyiuestc
When the USB got RESET packet from the host and the address is setup, all the classes will got reset. The reset is done by class stop and than class run. So the classes should reset their internal state in class_{run,stop}. Besides, the USB device driver could post a USB_MSG_RESET message on every RESET packet.
2013-05-23make Host can halt endpointsheyuanjie87
2013-05-17add usb stateheyuanjie87
2013-05-12usbdevice/core: use static message queueGrissiom
Although currently the only message send to the queue is struct udev_msg, in order to keep backward compacity and for extention in the future, we set the size of message to 32.
2013-05-12usbdevice/core: use static thread instead of dynamic threadGrissiom
It also add two configurations for the USB device even loop thread: RT_USBD_THREAD_STACK_SZ to set the stack size, default to 2048 RT_USBD_THREAD_PRIO to set the priority, default to 8 You can overwrite the default values in rtconfig.h
2013-05-12usbdevice/core: small optimization on the event loopGrissiom
Sort the switch cases by the frequency of the events.
2013-05-10usbdevice/core: misc cleanupGrissiom
2013-05-04usbdevice/core/core.c: fix garbage value bugGrissiom
This could crash the program with -O1 and -O2 in MDK.
2013-01-24class driver can custom string descriptionheyuanjie87
2013-01-17fixed the string descriptor send to host more than actualheyuanjie87
2013-01-17handle standard request to interface that defined in classheyuanjie87
2013-01-09allows the user custom PID and VIDheyuanjie87
2013-01-09use new interface to send status in control transferheyuanjie87
2013-01-08Re-normalizing the repoMing, Bai
2012-12-31添加RNDIS[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2579 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30change inferface handler parameter[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2563 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-20fixed the coding style of RT_DEBUG_LOG[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-17add a new fuction to config the desc in altsetting[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2490 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-14set endpoint buffer to RT_NULL[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2480 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-12change endpoint and class handler[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2477 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-25add USB composite and mass storage class features in USB device stack[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2447 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11remove unused code in _set_interface [email protected]
& modify some comment in rt_usb_device_init git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2346 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11submit the first version usb device stack.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2344 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09add a part of the usb stack[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2332 bbd45198-f89e-11dd-88c7-29a3b14d5316