The latest development version of this page may be more current than this released 2.7.0 version.

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 drivers/serial/Kconfig:34

Included via Kconfig:8Kconfig.zephyr:42drivers/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.)