f912dfebea
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>
44 lines
779 B
Plaintext
44 lines
779 B
Plaintext
# Kconfig.esp32 - ESP32 GPIO configuration options
|
|
#
|
|
#
|
|
# Copyright (c) 2017 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig GPIO_ESP32
|
|
bool "ESP32 GPIO"
|
|
depends on GPIO && SOC_ESP32
|
|
help
|
|
Enables the ESP32 GPIO driver
|
|
|
|
if GPIO_ESP32
|
|
|
|
config GPIO_ESP32_IRQ
|
|
int "IRQ line for ESP32 GPIO pins"
|
|
default 10
|
|
|
|
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_0_NAME
|
|
string "Driver name"
|
|
depends on GPIO_ESP32_0
|
|
default "GPIO_0"
|
|
|
|
config GPIO_ESP32_1
|
|
bool "ESP32 GPIO (pins 32-39)"
|
|
default y
|
|
help
|
|
Include support for GPIO pins 32-39 on the ESP32.
|
|
|
|
config GPIO_ESP32_1_NAME
|
|
string "Driver name"
|
|
depends on GPIO_ESP32_1
|
|
default "GPIO_1"
|
|
|
|
endif # GPIO_ESP32
|