CONFIG_UART_USE_RUNTIME_CONFIGURE¶
Enable runtime configuration for UART controllers
Type: bool
Help¶
Enable runtime configuration of UART controllers.
This allows applications to call uart_configure() to
configure the UART controllers at runtime, and calling
uart_config_get() to retrieve configuration. If this is
disabled, UART controllers rely on UART driver's
initialization function to properly configure
the controller.
Say y if unsure. Disable this to reduce footprint for
applications that do not require runtime UART configuration.
Default¶
- y 
Kconfig definition¶
At <Zephyr Driver>/serial/Kconfig:40
Included via Kconfig:8 → Kconfig.zephyr:42 → <Zephyr Driver>/Kconfig:26
Menu path: (Top) → Device Drivers → Serial Drivers
config UART_USE_RUNTIME_CONFIGURE
    bool "Enable runtime configuration for UART controllers"
    default y
    depends on SERIAL
    help
      Enable runtime configuration of UART controllers.
      This allows applications to call uart_configure() to
      configure the UART controllers at runtime, and calling
      uart_config_get() to retrieve configuration. If this is
      disabled, UART controllers rely on UART driver's
      initialization function to properly configure
      the controller.
      Say y if unsure. Disable this to reduce footprint for
      applications that do not require runtime UART configuration.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)