summaryrefslogtreecommitdiff
path: root/components/drivers/serial
AgeCommit message (Collapse)Author
2017-11-26[DeviceDriver][Serial] Fix serial open flag lost when device reopen.armink
2017-11-15[DeviceDriver][serial]Fix compile error when RT_USING_POSIX_TERMIOS is not ↵JasonJiaJie
define. Fix compile error when RT_USING_POSIX_TERMIOS is not define.
2017-11-15[Posix]termios parameter issue.JasonJiaJie
2017-11-15 [DeviceDriver][serial]JasonJiaJie
1.Fix poll rx issue when data is full. 2.Add TCFLSH and FIONREAD support.
2017-11-07[DeviceDriver][serial]Fix data bits error issue when using tcsetattr to set ↵JasonJiaJie
uart parameters. data bits should get from CSIZE.
2017-10-17[libc] Add RT_USING_POSIX macro.bernard
1. Add macro check in rtdebug.h; 2. Use RT_USING_POSIX for poll/select, stdin etc. 3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-16[components][drivers] Check macro "RT_USING_DFS" when using DFS relative ↵ArdaFu
method/functions.
2017-10-15[DeviceDrivers] change cmd type.bernard
1. Change 'rt_uint8_t' type of cmd to 'int'; 2. Add waitqueue; 3. Split device ipc header files;
2017-05-24[DeviceDriver] Make uart rx DMA FIFO to use the FIFO full flag.armink
2017-03-17[DeviceDrivers] Enhanced serial DMA rx driver reliability.armink
2017-01-19prevent change serial rx bufsz when serial is openedAubr.Cool
2016-06-13[DeviceDrivers] uart configure issue.Bernard Xiong
uart configure shall not been performed if uart is not open.
2016-05-14[DeviceDrivers] Add fifo mode to serial DMA rx when serial->config.bufsz != 0.armink
2016-04-09Update serial.cBluebear233
fix reset serial receive interrupt flag when close serial
2015-11-10[DeviceDrivers] fix the poll_rx issue in serial when there is no data.Bernard Xiong
2015-09-24[DeviceDrivers] Remove open_flag assertion.Bernard Xiong
2015-08-31fix DMA tx mod tx_dma->activated flag init bug.quintin
2015-03-26correct rx_fifo init size errorAubr.Cool
2015-01-04Use open_flag for serial device.bernard
2014-09-01[Serial] BUG Fix: data be send twice in mode that other than pollingheyuanjie87
2014-07-18[Drivers] re-write serial framework.bernard
2014-07-10[Drivers] Make code cleanup in serial framework.bernard
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.
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-09-24notification function: rt_err_t (*tx_complete)(rt_device_t dev, voidjoyhope
*buffer) with buffer pointer
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-06-28Embedded GPLv2 license in driversyiyue.fang
2013-05-12serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.Bernard Xiong
2013-01-08Re-normalizing the repoMing, Bai
2012-11-23export more symbols of PThread. [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2433 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-03add invoke callback after serial DMA transmit complete in serial.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2387 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-01add serial DMA transmit function(beta)[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2382 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07re-format the coding style in serial.c[email protected]
1, Tabs to Spaces 2, File Format(CR/LF) using UNIX style 3, maximum line length = 80 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2281 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-06fix a used uninitialized bug in components/drivers/serial.c reported by Grission[email protected]
and re-format the coding style git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2247 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-02change rt_memcpy to memcpy in ringbuffer implementation.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2199 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01add serial device driver framework[email protected]
and implement the example in MB9BF506R branch git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2145 bbd45198-f89e-11dd-88c7-29a3b14d5316