| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rx_fifo->is_full已经满时继续更新rx_fifo->get_index
|
|
|
|
|
|
define.
Fix compile error when RT_USING_POSIX_TERMIOS is not define.
|
|
|
|
1.Fix poll rx issue when data is full.
2.Add TCFLSH and FIONREAD support.
|
|
uart parameters.
data bits should get from CSIZE.
|
|
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;
|
|
method/functions.
|
|
1. Change 'rt_uint8_t' type of cmd to 'int';
2. Add waitqueue;
3. Split device ipc header files;
|
|
|
|
|
|
|
|
uart configure shall not been performed if uart is not open.
|
|
|
|
fix reset serial receive interrupt flag when close serial
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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?
|
|
|
|
Add hardware flow support.
Use new struct serial_ringbuffer.
|
|
This reverts commit 07bd09fc0fc256e5c53ad3c6157802fd94c9910c.
The validation of the context is done with in `rt_set_errno`. So it's
safe to call it here.
|
|
The errno is associated with threads. It will crash the thread if we set
it in interrupt context.
|
|
Return early if the size is 0 as there is nothing to do.
|
|
*buffer) with buffer pointer
|
|
|
|
|
|
|
|
|
|
|
|
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2433 bbd45198-f89e-11dd-88c7-29a3b14d5316
|