Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | # Kconfig - STM32 UART configuration
#
# Copyright (c) 2016 Open-RnD Sp. z o.o.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig UART_STM32
bool "STM32 MCU serial driver"
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
depends on SOC_FAMILY_STM32
help
This option enables the UART driver for STM32 family of
processors.
Say y if you wish to use serial port on STM32 MCU.
if UART_STM32
# --- port 1 ---
config UART_1
bool "Enable STM32 USART1 Port"
help
Enable support for USART1 port in the driver.
Say y here if you want to use USART1 device.
# --- port 2 ---
config UART_2
bool "Enable STM32 USART2 Port"
help
Enable support for USART2 port in the driver.
Say y here if you want to use USART2 device.
# --- port 3 ---
config UART_3
bool "Enable STM32 USART3 Port"
help
Enable support for USART3 port in the driver.
Say y here if you want to use USART3 device.
# --- port 4 ---
config UART_4
bool "Enable STM32 U(S)ART4 Port"
help
Enable support for U(S)ART4 port in the driver.
Say y here if you want to use U(S)ART4 device.
# --- port 5 ---
config UART_5
bool "Enable STM32 U(S)ART5 Port"
help
Enable support for U(S)ART5 port in the driver.
Say y here if you want to use U(S)ART5 device.
# --- port 6 ---
config UART_6
bool "Enable STM32 USART6 Port"
help
Enable support for USART6 port in the driver.
Say y here if you want to use USART6 device.
# --- port 7 ---
config UART_7
bool "Enable STM32 U(S)ART7 Port"
help
Enable support for U(S)ART7 port in the driver.
Say y here if you want to use U(S)ART7 device.
# --- port 8 ---
config UART_8
bool "Enable STM32 U(S)ART8 Port"
help
Enable support for U(S)ART8 port in the driver.
Say y here if you want to use U(S)ART8 device.
# --- port 9 ---
config UART_9
bool "Enable STM32 UART9 Port"
help
Enable support for UART9 port in the driver.
Say y here if you want to use UART9 device.
# --- port 10 ---
config UART_10
bool "Enable STM32 UART10 Port"
help
Enable support for UART10 port in the driver.
Say y here if you want to use UART10 device.
if SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X
# --- low power port 1 ---
config LPUART_1
bool "Enable STM32 LPUART1 Port"
help
Enable support for LPUART1 port in the driver.
Say y here if you want to use LPUART1 device.
endif # SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X
endif # UART_STM32
|