2019-11-01 20:45:29 +08:00
|
|
|
# ESP32 GPIO configuration options
|
|
|
|
|
2017-06-20 07:58:29 +08:00
|
|
|
# Copyright (c) 2017 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig GPIO_ESP32
|
|
|
|
bool "ESP32 GPIO"
|
2019-03-07 14:12:27 +08:00
|
|
|
depends on SOC_ESP32
|
2017-06-20 07:58:29 +08:00
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
Enables the ESP32 GPIO driver
|
2017-06-20 07:58:29 +08:00
|
|
|
|
|
|
|
if GPIO_ESP32
|
|
|
|
|
|
|
|
config GPIO_ESP32_IRQ
|
|
|
|
int "IRQ line for ESP32 GPIO pins"
|
|
|
|
default 10
|
2019-10-24 21:30:08 +08:00
|
|
|
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.
|
2017-06-20 07:58:29 +08:00
|
|
|
|
|
|
|
config GPIO_ESP32_0
|
|
|
|
bool "ESP32 GPIO (pins 0-31)"
|
|
|
|
default y
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
Include support for GPIO pins 0-31 on the ESP32.
|
2017-06-20 07:58:29 +08:00
|
|
|
|
|
|
|
config GPIO_ESP32_1
|
|
|
|
bool "ESP32 GPIO (pins 32-39)"
|
|
|
|
default y
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
Include support for GPIO pins 32-39 on the ESP32.
|
2017-06-20 07:58:29 +08:00
|
|
|
|
|
|
|
endif # GPIO_ESP32
|