mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-05 17:23:31 +00:00
Add a set of Kconfig symbols that allow us to set that the GPIO driver/SoC support DTS (HAS_DTS_GPIO) and that drivers that need/use GPIO support DTS as well (HAS_DTS_GPIO_DEVICE). Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
63 lines
1.1 KiB
Plaintext
63 lines
1.1 KiB
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
|
|
default n
|
|
help
|
|
Enable GPIO driver for STM32 line of MCUs
|
|
|
|
if GPIO_STM32
|
|
|
|
config GPIO_STM32_PORTA
|
|
bool "Enable GPIO port A support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTB
|
|
bool "Enable GPIO port B support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTC
|
|
bool "Enable GPIO port C support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTD
|
|
bool "Enable GPIO port D support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTE
|
|
bool "Enable GPIO port E support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTF
|
|
bool "Enable GPIO port F support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTG
|
|
bool "Enable GPIO port G support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTH
|
|
bool "Enable GPIO port H support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTI
|
|
bool "Enable GPIO port I support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTJ
|
|
bool "Enable GPIO port J support"
|
|
default n
|
|
|
|
config GPIO_STM32_PORTK
|
|
bool "Enable GPIO port K support"
|
|
default n
|
|
|
|
endif # GPIO_STM32
|