zephyr/drivers/gpio/Kconfig.esp32
Kumar Gala 5a8a06661d drivers: gpio: cleanup select HAS_DTS_GPIO
All GPIO controller drivers support DTS so we can select HAS_DTS_GPIO
at the GPIO driver subsystem level rather than for each specific driver.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-04 09:27:12 -05:00

39 lines
795 B
Plaintext

# ESP32 GPIO configuration options
# Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig GPIO_ESP32
bool "ESP32 GPIO"
depends on SOC_ESP32
help
Enables the ESP32 GPIO driver
if GPIO_ESP32
config GPIO_ESP32_IRQ
int "IRQ line for ESP32 GPIO pins"
default 10
help
Select the IRQ line to be used for GPIO interrupts.
Edge-triggered interrupts are supported on lines: 10, 22,
28, 30.
Level-triggered interrupts are supported on lines: 0-5, 8,
9, 12, 13, 17-21, 23-27, 31.
config GPIO_ESP32_0
bool "ESP32 GPIO (pins 0-31)"
default y
help
Include support for GPIO pins 0-31 on the ESP32.
config GPIO_ESP32_1
bool "ESP32 GPIO (pins 32-39)"
default y
help
Include support for GPIO pins 32-39 on the ESP32.
endif # GPIO_ESP32