summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2013-06-29reformat the coding style in usbdevice/core/core.cyiyue.fang
2013-06-28additional updateyiyue.fang
2013-06-28Embedded GPLv2 license in driversyiyue.fang
2013-06-26Embedded GPLv2 license in componentsyiyue.fang
2013-06-26Embedded GPLv2 license in pthreadsyiyue.fang
2013-06-26Embedded GPLv2 license in dfsyiyue.fang
2013-06-26add logtrace componentGrissiom
Logtrace is a component that could output the log into either a device or a file. It has the ability to filter the log messages according to a pre-module level. Define RT_USING_LOGTRACE in rtconfig.h if you want to have a try.
2013-06-23Update SConscriptBernard Xiong
2013-06-23Update SConscriptBernard Xiong
2013-06-23fix compiling warningBernard Xiong
2013-06-23fix compiling errorBernard Xiong
2013-06-23Add component initialization.Bernard Xiong
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-06-03Fix the memheap_realloc issueBernard Xiong
2013-05-31Merge pull request #98 from grissiom/rm48x50Bernard Xiong
Rm48x50
2013-05-30return correct length of LangID string to hostheyuanjie87
2013-05-29finsh: add CCS supportGrissiom
2013-05-25use __rt_ffs instead of ffsweety
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-25Merge pull request #94 from grissiom/vcomqiuyiuestc
cdc_vcom: reset the vcom state in proper cases
2013-05-25cdc_vcom: reset the vcom state in proper casesGrissiom
Reset the vcom state in class_{run,stop} and when the PC is not receiving data from me.
2013-05-23make Host can halt endpointsheyuanjie87
2013-05-17Merge pull request #90 from heyuanjie87/ForPullRequestqiuyiuestc
For pull request
2013-05-17Merge pull request #89 from grissiom/dfs-misc-fixBernard Xiong
add missing dfs_mkfs prototype in dfs_fs.h
2013-05-17fix spelling error.aozima
2013-05-17move initial alarm event & mutex in system init.aozima
2013-05-17format code by Astyle.aozima
2013-05-17add usb stateheyuanjie87
2013-05-17add missing dfs_mkfs prototype in dfs_fs.hGrissiom
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-05Merge branch 'master' of https://github.com/RT-Thread/rt-threadBernard Xiong
2013-05-05add RAMFS implementationBernard Xiong
2013-05-04usbdevice/core/core.c: fix garbage value bugGrissiom
This could crash the program with -O1 and -O2 in MDK.
2013-04-10add error handler in dlopen.cshaolin
2013-04-04fix compiling warning in finsh shelluser
2013-04-04fix the wrong strcpy issue in list() functionBernard Xiong