mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-24 23:15:22 +00:00
Bool symbols implicitly default to 'n'. A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you want to override a 'default y' on the base definition of the symbol. It isn't used like that on any of these symbols though, and is inconsistent. This will make the auto-generated Kconfig documentation have "No defaults. Implicitly defaults to n." as well, which is clearer than 'default n if ...' Piggyback a missing 'source "drivers/gpio/Kconfig.imx"'. This file wasn't included anywhere previously. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
51 lines
994 B
Plaintext
51 lines
994 B
Plaintext
# Kconfig - 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 GPIO && 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"
|
|
|
|
endif # GPIO_STM32
|