mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
serial/uart_rpmsg: add _raw version of driver
Mainline Linux doesn't use data encapsuation or flow control in its tty_rpmsg driver. Create a NuttX counterpart which matches this implementation. This driver uses the static "rpmsg-tty" name to connect with the remote service. Signed-off-by: Maarten Zanders <maarten@zanders.be>
This commit is contained in:
committed by
Alan C. Assis
parent
be66d39552
commit
65207ae1c5
@@ -169,6 +169,30 @@ config RPMSG_UART_CONSOLE
|
||||
NOTE: support for this option must be implemented in the board logic by
|
||||
setting the \"isconsole\" argument in the uart_rpmsg_init() function to true.
|
||||
|
||||
config RPMSG_UART_RAW
|
||||
bool "UART RPMSG RAW support"
|
||||
default n
|
||||
depends on RPMSG
|
||||
select ARCH_HAVE_SERIAL_TERMIOS
|
||||
select SERIAL_RXDMA
|
||||
select SERIAL_TXDMA
|
||||
select SERIAL_REMOVABLE
|
||||
---help---
|
||||
Similar to RPMSG_UART but using data transfer without encapsulation or
|
||||
flow control. This implementation is compatible with the upstream linux
|
||||
implementation of tty_rpmsg. This connects to a static service name
|
||||
(rpmsg-tty), independent from the local name.
|
||||
|
||||
config RPMSG_UART_RAW_CONSOLE
|
||||
bool "UART RPMSG RAW console support"
|
||||
default n
|
||||
depends on RPMSG_UART_RAW
|
||||
---help---
|
||||
Register the RAW UART RPMSG device as /dev/console so that is will be used
|
||||
as the console device.
|
||||
NOTE: support for this option must be implemented in the board logic by
|
||||
setting the \"isconsole\" argument in the uart_rpmsg_raw_init() function to true.
|
||||
|
||||
#
|
||||
# Standard serial driver configuration
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user