zephyr/drivers/serial/Kconfig.stm32
Ulf Magnusson bd6e04411e kconfig: Clean up header comments and make them consistent
Use this short header style in all Kconfig files:

    # <description>

    # <copyright>
    # <license>

    ...

Also change all <description>s from

    # Kconfig[.extension] - Foo-related options

to just

    # Foo-related options

It's clear enough that it's about Kconfig.

The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)

    git ls-files '*Kconfig*' | \
        xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-04 17:31:27 -05:00

111 lines
2.5 KiB
Plaintext

# 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 || SOC_SERIES_STM32WBX || SOC_SERIES_STM32H7X || SOC_SERIES_STM32G4X
# --- 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 || SOC_SERIES_STM32WBX || SOC_SERIES_STM32G4X
endif # UART_STM32