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.

Direct dependencies

SERIAL

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/drivers/serial/Kconfig:34

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:40<Zephyr>/drivers/Kconfig:24

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.)