zephyr/drivers/console
Benjamin Lindqvist 449fc7bb1c net: ppp: Avoid wrapping each byte in muxing headers
When PPP is muxed, using uart_poll_out resulted in each byte getting
wrapped in a muxing header. This led to UART bombardment which
can quickly cause some modems to hang and panic. This was observed
regularly using a SIMCOM7600E modem.

A perfect fix would involve rewriting ppp.c, uart_mux.c and
modem_iface_uart.c to all use another UART API, but that would be more
invasive by several orders of magnitude than this one, which utilizes
the fact that the uart_mux implementation of uart_fifo_fill does NOT
require ISR context. Since the Zephyr UART API states that the behavior
of uart_fifo_fill outside of ISR context is implementation defined, this
should be kosher.

Signed-off-by: Benjamin Lindqvist <benjamin.lindqvist@endian.se>
2020-10-19 18:29:02 +02:00
..
CMakeLists.txt console: ipm_console: Add console over IPM 2020-09-04 07:55:52 -04:00
Kconfig drivers: ipm-console: Remove unused config option 2020-09-04 07:55:52 -04:00
Kconfig.gsm_mux drivers: gsm_mux: Support GSM 07.10 muxing protocol 2020-04-17 10:15:54 +03:00
gsm_mux.c drivers: modem: gsm_ppp: Enable start/stop 2020-10-19 18:29:02 +02:00
gsm_mux.h drivers: modem: gsm_ppp: Enable start/stop 2020-10-19 18:29:02 +02:00
ipm_console.c device: Fixing new left over device instance made constant 2020-09-15 09:18:43 -05:00
ipm_console_receiver.c drivers: console: Fix device instance const qualifier loss in IPM driver 2020-09-02 13:48:13 +02:00
ipm_console_sender.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
native_posix_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ram_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
rtt_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
semihost_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
uart_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
uart_mcumgr.c misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
uart_mux.c net: ppp: Avoid wrapping each byte in muxing headers 2020-10-19 18:29:02 +02:00
uart_mux_internal.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
uart_pipe.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
xtensa_sim_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00