On Wed, Mar 8, 2023 at 2:26 PM Xiang Xiao <xiaoxiang781...@gmail.com> wrote:

>
> Since the code to handle the special process is very small, is it better to
> always allow application change ECHO and OPOST through TCSETS? So, the
> special function or program can disable ECHO/OPOST programmatically.



Only if termios support is enabled in Kconfig (CONFIG_SERIAL_TERMIOS), I
think. Else all serial setup is static and cannot be altered
programmatically -- this makes sense when connected to a dedicated device,
such as MCU UART connected directly to another MCU UART or some sensor chip
or interface chip with serial setup that never changes.

Nathan

Reply via email to