Skip to content
Commit 8cdcb2c1 authored by Björn Stenberg's avatar Björn Stenberg Committed by Alberto Escolar
Browse files

uart_native_tty: Emulate an interrupt driven uart



Emulate SERIAL_SUPPORT_INTERRUPT for UART_NATIVE_TTY, using a thread that
polls the tty and invokes the callback.

This allows interrupt-driven subsystems such as modbus to use a native tty,
which is useful for testing purposes.

Signed-off-by: default avatarBjörn Stenberg <bjorn@haxx.se>
parent 38a14b89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment