summaryrefslogtreecommitdiff
path: root/components/drivers
AgeCommit message (Collapse)Author
2014-11-01[DeviceDriver] Remove i2c_core_lock.bernard
2014-11-01[Sensor] code cleanupBernard Xiong
2014-11-01[Drivers] Add sensor frameworkBernard Xiong
2014-09-24update RW009 wifi driver.aozima
2014-09-08update RW009 driver.aozima
2014-09-01[Serial] BUG Fix: data be send twice in mode that other than pollingheyuanjie87
2014-08-29Update SConscript: add spi to include path.aozima
2014-08-04[DeviceDrivers] Add modification under LinuxBernard Xiong
2014-08-03[DeviceDrivers] Fix compiling warning.bernard
2014-07-31add more SPI device driver.aozima
2014-07-18[Drivers] re-write serial framework.bernard
2014-07-131. Fix some spell error;shaolin
2. Fix data transfer size calculate error issue;
2014-07-13[Drivers] Add workqueue implementation.bernard
2014-07-10[Drivers] Make code cleanup in serial framework.bernard
2014-04-06[USB]fix rt_usbd_set_config() BUG which set the USB device to configuration ↵weety
state before enumerating the device.
2014-03-04[DeviceDrivers] Add watchdog driver frame workbernard
2014-03-04Merge branch 'master' of https://github.com/RT-Thread/rt-threadshaolin
2014-03-041.replace API prefix usb* with usbh* in USB host stack to distinct with USB ↵shaolin
device stack; 2.adjust some viable and micro name 3.some other small fix
2014-03-03Revert "Merge pull request #241 from bright-pan/master"Grissiom
This reverts commit 5aeedc4f3a3c3fcfffb0cd4a474f5faa75053839, reversing changes made to 3d80e414ff6c03ff04fecb914e7aa9b3fb535e03. This merge breaks every uart driver in all BSPs. @bright-pan , is there any way to get this done without breaking existing code?
2014-02-28Fix rt_serial_control() bug for customized command and indent the codeBright Pan
2014-02-26Use DeviceDriver ringbuffer.Bright Pan
Add hardware flow support. Use new struct serial_ringbuffer.
2014-02-16Update USB Device Stack to support more device controllers;shaolin
Pass USB CV test verification; Code cleanup;
2013-12-30[Drivers] Fix the block start issue in MTD Nand operatorsBernard Xiong
2013-12-29[Drivers] Add more debug utilities in MTD nandbernard
2013-10-25Revert "serial: set the errno if and only if in thread context"Grissiom
This reverts commit 07bd09fc0fc256e5c53ad3c6157802fd94c9910c. The validation of the context is done with in `rt_set_errno`. So it's safe to call it here.
2013-10-25serial: set the errno if and only if in thread contextGrissiom
The errno is associated with threads. It will crash the thread if we set it in interrupt context.
2013-10-25serial: do onthing if the size of read/write is zeroGrissiom
Return early if the size is 0 as there is nothing to do.
2013-10-23device/pipe: add a control cmd to get the space left in pipeGrissiom
2013-09-24notification function: rt_err_t (*tx_complete)(rt_device_t dev, voidjoyhope
*buffer) with buffer pointer
2013-08-22dev/portal: fix bug in portal callback forwardingGrissiom
When forwarding rx/tx callback from the underlaying device(pipe), the "dev" argument should be the portal. So the portal callback could think itself as called.
2013-08-22dev/portal: add checks on oflagGrissiom
It does not make sense to open portal without a flag. One should open a portal with RT_DEVICE_OFLAG_RDWR in most cases.
2013-08-20dev/portal: implement portal deviceGrissiom
Portal is a device that connect devices. Currently, you can only connect pipes in portal. Pipes are unidirectional. But with portal, you can construct a bidirectional device with two pipes.
2013-08-20dev/pipe: make pipe a type of deviceGrissiom
Pipe have many differences with char device. The main difference is altough pipe have both read and write, it is unidirectional in nature.
2013-08-19dev/pipe: cleanupGrissiom
2013-08-19dev/pipe: call rx_indicate the time we resume readerGrissiom
Some reader(FinSh again) would like to block on a semaphore which is released in rx_indicate. So we should invoke rx_indicate in _rt_pipe_resume_reader.
2013-08-19device/pipe: add nonblocking read/write and force write modeGrissiom
The previous implementation will always blocks the reader/writer. However, at least FinSh would expect the device to be nonblocking --- read should return 0 when there is no data in it.
2013-08-19ringbuffer: add put_force and putchar_force APIGrissiom
Add the APIs that will discard the old data when rb is full.
2013-08-19ringbuffer: fix the ambiguous nameGrissiom
RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size of the empty space" or "the size of the data". Moreover, it's never a micro anymore. Change it to rt_ringbuffer_data_len before it's too late. Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
2013-08-19device/pipe: add rt_pipe_{init,detach}Grissiom
This provide the possibility that allocate the buffer of the ringbuffer on a specific region, instead of always mallocing it. It also bring us the benefit of using pipe device on the systems without heap.
2013-07-25Merge pull request #135 from reynoldxu/K60FxxxxBernard Xiong
K60 fxxxx
2013-07-25remove a var for INT_TX.reynoldxu
2013-07-24fix a bug in rt_hw_uart_init() where u CAN NOT init some feature.reynoldxu
2013-07-24add initialization debug codebernard
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-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.