1# STM32 UART configuration 2 3# Copyright (c) 2016 Open-RnD Sp. z o.o. 4# SPDX-License-Identifier: Apache-2.0 5 6config UART_STM32 7 bool "STM32 MCU serial driver" 8 default y 9 depends on DT_HAS_ST_STM32_UART_ENABLED 10 select SERIAL_HAS_DRIVER 11 select SERIAL_SUPPORT_INTERRUPT 12 # the ASYNC implementation requires a DMA controller 13 select SERIAL_SUPPORT_ASYNC \ 14 if DT_HAS_ST_STM32_DMA_V1_ENABLED || \ 15 DT_HAS_ST_STM32_DMA_V2_ENABLED || \ 16 DT_HAS_ST_STM32_DMA_V2BIS_ENABLED || \ 17 DT_HAS_ST_STM32U5_DMA_ENABLED 18 select DMA if UART_ASYNC_API 19 select RESET 20 help 21 This option enables the UART driver for STM32 family of 22 processors. 23 Say y if you wish to use serial port on STM32 MCU. 24