mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 13:42:49 +00:00
Consistently use config FOO bool/int/hex/string "Prompt text" instead of config FOO bool/int/hex/string prompt "Prompt text" (...and a bunch of other variations that e.g. swapped the order of the type and the 'prompt', or put other properties between them). The shorthand is fully equivalent to using 'prompt'. It saves lines and avoids tricking people into thinking there is some semantic difference. Most of the grunt work was done by a modified version of https://unix.stackexchange.com/questions/26284/ how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some of the rarer variations had to be converted manually. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
82 lines
1.5 KiB
Plaintext
82 lines
1.5 KiB
Plaintext
# Kconfig - GPIO configuration options
|
|
|
|
#
|
|
# Copyright (c) 2015 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig GPIO
|
|
bool "GPIO Drivers"
|
|
help
|
|
Include GPIO drivers in system config
|
|
|
|
if GPIO
|
|
|
|
config SYS_LOG_GPIO_LEVEL
|
|
int "GPIO drivers log level"
|
|
default 0
|
|
depends on SYS_LOG
|
|
help
|
|
Sets log level for GPIO drivers
|
|
|
|
Levels are:
|
|
|
|
- 0 OFF, do not write
|
|
|
|
- 1 ERROR, only write SYS_LOG_ERR
|
|
|
|
- 2 WARNING, write SYS_LOG_WRN in addition to previous level
|
|
|
|
- 3 INFO, write SYS_LOG_INF in addition to previous levels
|
|
|
|
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
|
|
|
source "drivers/gpio/Kconfig.dw"
|
|
|
|
source "drivers/gpio/Kconfig.pcal9535a"
|
|
|
|
source "drivers/gpio/Kconfig.qmsi"
|
|
|
|
source "drivers/gpio/Kconfig.sch"
|
|
|
|
source "drivers/gpio/Kconfig.mcux"
|
|
|
|
source "drivers/gpio/Kconfig.mcux_igpio"
|
|
|
|
source "drivers/gpio/Kconfig.mcux_lpc"
|
|
|
|
source "drivers/gpio/Kconfig.mmio32"
|
|
|
|
source "drivers/gpio/Kconfig.atmel_sam3"
|
|
|
|
source "drivers/gpio/Kconfig.stm32"
|
|
|
|
source "drivers/gpio/Kconfig.nrf5"
|
|
|
|
source "drivers/gpio/Kconfig.cmsdk_ahb"
|
|
|
|
source "drivers/gpio/Kconfig.cc32xx"
|
|
|
|
source "drivers/gpio/Kconfig.pulpino"
|
|
|
|
source "drivers/gpio/Kconfig.fe310"
|
|
|
|
source "drivers/gpio/Kconfig.cc2650"
|
|
|
|
source "drivers/gpio/Kconfig.esp32"
|
|
|
|
source "drivers/gpio/Kconfig.gecko"
|
|
|
|
source "drivers/gpio/Kconfig.altera_nios2"
|
|
|
|
source "drivers/gpio/Kconfig.sam0"
|
|
|
|
source "drivers/gpio/Kconfig.sam"
|
|
|
|
source "drivers/gpio/Kconfig.sx1509b"
|
|
|
|
source "drivers/gpio/Kconfig.imx"
|
|
|
|
endif # GPIO
|