zephyr/drivers/gpio/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

72 lines
1.5 KiB
Plaintext

# STM32 GPIO configuration
# Copyright (c) 2016 Open-RnD Sp. z o.o.
# SPDX-License-Identifier: Apache-2.0
menuconfig GPIO_STM32
bool "GPIO Driver for STM32 family of MCUs"
depends on SOC_FAMILY_STM32
select HAS_DTS_GPIO
help
Enable GPIO driver for STM32 line of MCUs
if GPIO_STM32
config GPIO_STM32_PORTA
bool "Enable GPIO port A support"
config GPIO_STM32_PORTB
bool "Enable GPIO port B support"
config GPIO_STM32_PORTC
bool "Enable GPIO port C support"
config GPIO_STM32_PORTD
bool "Enable GPIO port D support"
config GPIO_STM32_PORTE
bool "Enable GPIO port E support"
config GPIO_STM32_PORTF
bool "Enable GPIO port F support"
config GPIO_STM32_PORTG
bool "Enable GPIO port G support"
config GPIO_STM32_PORTH
bool "Enable GPIO port H support"
config GPIO_STM32_PORTI
bool "Enable GPIO port I support"
config GPIO_STM32_PORTJ
bool "Enable GPIO port J support"
config GPIO_STM32_PORTK
bool "Enable GPIO port K support"
if SOC_SERIES_STM32F1X
choice GPIO_STM32_SWJ
prompt "Serial wire JTAG configuration"
config GPIO_STM32_SWJ_ENABLE
depends on !(SOC_STM32F103XE && SPI_3)
bool "Full SWJ (JTAG-DP + SW-DP): Reset State"
config GPIO_STM32_SWJ_NONJTRST
depends on !(SOC_STM32F103XE && SPI_3)
bool "Full SWJ (JTAG-DP + SW-DP) but without NJTRST"
config GPIO_STM32_SWJ_NOJTAG
bool "JTAG-DP Disabled and SW-DP Enabled"
config GPIO_STM32_SWJ_DISABLE
bool "JTAG-DP Disabled and SW-DP Disabled"
endchoice
endif # SOC_SERIES_STM32F1X
endif # GPIO_STM32