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

Kconfig definitions

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:19<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config UART_STM32
    bool
    default y
    depends on SERIAL && SOC_FAMILY_STM32

At <Zephyr>/drivers/serial/Kconfig.stm32:9

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:24<Zephyr>/drivers/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
    select SERIAL_SUPPORT_ASYNC if n || n
    select DMA if UART_ASYNC_API
    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.)