On Wed, Mar 8, 2023 at 3:20 PM Gregory Nutt <spudan...@gmail.com> wrote:

> POSIX defines the TERMIOS options and, I suspect that those TERMIOS
> options are required, not optional (need to check that). If that is
> true, then there should be no CONFIG_SERIAL_TERMIOS option; it should
> always be enabled.



Unless the user (like me) knows termios will never be used. I have both
scenarios, used (serial config changes at runtime -- connected to external
equipment) and never used (serial config set once at build time --
connected to a chip on the circuit board).

Even though we want as close to POSIX compliant as possible, we still
should allow to eliminate code to reduce flash footprint whenever possible.
Otherwise we won't be for deeply embedded anymore.

Cheers
Nathan

Reply via email to