summaryrefslogtreecommitdiff
path: root/components/drivers
AgeCommit message (Collapse)Author
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-11Merge pull request #86 from grissiom/serial-rb-sizeBernard Xiong
serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.
2013-05-12serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.Bernard Xiong
2013-05-12cdc_vcom: not to start sending data when the data is already sendingGrissiom
We start the sending transaction in SOF handler. But if the data is already sending, start an other transaction will cause data lose. Implement a state machine is cdc_vcom and avoid that.
2013-05-12usbdevice/core: small optimization on the event loopGrissiom
Sort the switch cases by the frequency of the events.
2013-05-10cdc_vcom: send data as many as possibleGrissiom
The data filled into dcd_ep_write does not to be limited by MaxPacketSize.
2013-05-10usbdevice/core: misc cleanupGrissiom
2013-05-10cdc_vcom: send a zero-length-packet at the end is transactionGrissiom
2013-05-09cdc_vcom: fix the bug that use ringbuffer pool as usb packet bufferGrissiom
This commit set the buffer for packet to CDC_MaxPacketSize which is a reasonable value for it. However, maybe we should make CDC_{RX,TX}_BUFSIZE configurable as well.
2013-05-08ringbuffer: format the code to a more symmetric structureGrissiom
2013-05-08reimplement ringbufferGrissiom
The new implementation use the mirroring method to distinguish full buffer and the empty buffer. It also support buffers of arbitrary size.
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-17Add RT_MTD_ESRC definitions.Bernard Xiong
Add RT_MTD_ESRC definitions. If the source page has issue when copying a page, the low level can return this error code.
2013-01-11Correct macro definitionheyuanjie87
2013-01-11revert some define to usb_common.hheyuanjie87
2013-01-09revert the defineheyuanjie87
2013-01-09allows the user custom PID and VIDheyuanjie87
2013-01-09use new interface to send status in control transferheyuanjie87
2013-01-09move the define related to Mass to here;heyuanjie87
remove product ID
2013-01-09allows the user custom PID and VIDheyuanjie87
2013-01-09remove product IDheyuanjie87
2013-01-09move the define related to Mass to mstorage.hheyuanjie87
2013-01-09allows the user to custom PID and VID;heyuanjie87
add a dcd operation to send status in control transfer
2013-01-08Re-normalizing the repoMing, Bai
2012-12-31添加RNDIS[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2580 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31添加RNDIS[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2579 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31添加RNDIS定义[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2578 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30change inferface handler parameter[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2565 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30change inferface handler parameter; add a protocol define[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2564 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-28Add BAUD_RATE_4800 definition.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2538 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-26fixed the coding style in components/drivers/src[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2529 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-17remove iad form uclass structure[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2491 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-17Descriptor is no longer using the global variable[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2489 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-16fixed a warning[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2486 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-12-12change endpoint and class handler[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2476 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-12change endpoint and class handler[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2475 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08csw structure address alignment[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2468 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-03fixed the coding style in alarm.h[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2466 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-01Single block write data[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2463 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28chang a macro name[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2457 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28chang a macro name[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2456 bbd45198-f89e-11dd-88c7-29a3b14d5316