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

STM32 MCU serial driver

Type: bool

Help

This option enables the UART driver for STM32 family of processors. Say y if you wish to use serial port on STM32 MCU.

Direct dependencies

(SERIAL && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && SERIAL)

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definitions

At soc/arm/st_stm32/common/Kconfig.defconfig.series:24

Included via Kconfig:8Kconfig.zephyr:25soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config UART_STM32
    bool
    default y
    depends on SERIAL && SOC_FAMILY_STM32

At drivers/serial/Kconfig.stm32:6

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:22drivers/serial/Kconfig:91

Menu path: (Top) → Device Drivers → Serial Drivers

config UART_STM32
    bool "STM32 MCU serial driver"
    select SERIAL_HAS_DRIVER
    select SERIAL_SUPPORT_INTERRUPT
    depends on SOC_FAMILY_STM32 && SERIAL
    help
      This option enables the UART driver for STM32 family of
      processors.
      Say y if you wish to use serial port on STM32 MCU.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)