Add CONFIG_UART_DYNAMIC_SETTINGS option #16231
Labels
area: API
Changes to public APIs
area: UART
Universal Asynchronous Receiver-Transmitter
Enhancement
Changes/Updates/Additions to existing features
Is your enhancement proposal related to a problem? Please describe.
Add an option to disable dynamic settings in uart.h (uart_configure, and uart_configure_get).
This saves around 500 bytes of flash per UART device (seen on STM32)
Describe the solution you'd like
Add a config UART_DYNAMIC_SETTINGS which would be conditional for uart settings related apis:
When disabled, they would not be available, and settings values would be the ones set at startup either from device tree or HW default values.
Default choice for this new value could be either n or y.
I'd propose n.
The text was updated successfully, but these errors were encountered: