Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samv7/serial: allow TX/RX DMA for UART drivers
So far only USART drivers could use TX/RX DMA. This commit adds the support for UART drivers as well (with the exception of serial console). UART peripheral does not have timeout interrupt, so external polling is required to flush the RX data from DMA buffers even if the buffer is not yet full. The board layer can do this by calling sam_serial_dma_poll function. Signed-off-by: Michal Lenc <[email protected]>
- Loading branch information