mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
drivers/serial: The upper half serial driver configuration CONFIG_SERIAL_DMA used to enable DMA on both RX and TX streams. This was replaced with CONFIG_SERIAL_RXDMA and CONFIG_SERIAKL_TXDMA which will permit supporting DMA on only one or both streams.
This commit is contained in:
@@ -281,10 +281,14 @@ static const struct uart_ops_s g_uartops =
|
||||
#ifdef CONFIG_SERIAL_IFLOWCONTROL
|
||||
cdcuart_rxflowcontrol, /* rxflowcontrol */
|
||||
#endif
|
||||
#ifdef CONFIG_SERIAL_DMA
|
||||
#ifdef CONFIG_SERIAL_TXDMA
|
||||
NULL, /* dmasend */
|
||||
#endif
|
||||
#ifdef CONFIG_SERIAL_RXDMA
|
||||
NULL, /* dmareceive */
|
||||
NULL, /* dmarxfree */
|
||||
#endif
|
||||
#ifdef CONFIG_SERIAL_TXDMA
|
||||
NULL, /* dmatxavail */
|
||||
#endif
|
||||
NULL, /* send */
|
||||
|
||||
Reference in New Issue
Block a user