zephyr/subsys
Paul Sokolovsky a7df3a1e09 tty: Support unbuffered operation to extend usecase coverage
The whole "tty" concept is conceived around efficient
interrupt-driven operation. However, it's beneficial to add
non interupt-driven operation under the same API:

1. Wider usecase coverage in general.
2. Allows to use the same familiar API (based on POSIX concepts)
even for UART implementations without interrupt support.
3. Allows to switch operation dynamically based on the needs.
For example, if the system is in degraded mode and interrupt
handling cannot be trusted/disabled, allows to still output
diagnostic information to user. This was the original motivation
to provide such a mode, to support logging subsystem's "panic"
mode.

To implement this feature, tty_set_rx_buf() and tty_set_tx_buf()
functions are provided, allowing to reconfigure buffers used
dynamically. If configured buffer length is 0, the operation
switched to unbuffered.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-12-20 12:21:49 +01:00
..
app_memory
bluetooth Bluetooth: controller: Fix Conn Param Req procedure stall issue 2018-12-19 14:47:38 +01:00
console tty: Support unbuffered operation to extend usecase coverage 2018-12-20 12:21:49 +01:00
cpp
debug
dfu
disk
fb
fs
logging logging: Refactor RTT backend to handle host absence 2018-12-19 14:53:48 +01:00
mgmt
net
power
random
settings
shell shell: Add dropping of expired messages 2018-12-19 14:37:00 +01:00
stats
storage
usb usb: hid: boot protocol 2018-12-19 07:36:18 -06:00
CMakeLists.txt
Kconfig