mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 16:23:34 +00:00
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>
39 lines
722 B
Plaintext
39 lines
722 B
Plaintext
# Kconfig.mcux_lpc - MCUX LPC GPIO configuration options
|
|
#
|
|
# Copyright (c) 2017, NXP
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig GPIO_MCUX_LPC
|
|
bool "MCUX LPC GPIO driver"
|
|
depends on GPIO && HAS_MCUX
|
|
help
|
|
Enable the MCUX LPC pinmux driver.
|
|
|
|
if GPIO_MCUX_LPC
|
|
|
|
config GPIO_MCUX_LPC_PORT0
|
|
bool "Port 0"
|
|
depends on PINMUX_MCUX_LPC_PORT0
|
|
help
|
|
Enable Port 0.
|
|
|
|
config GPIO_MCUX_LPC_PORT0_NAME
|
|
string "Port 0 driver name"
|
|
depends on GPIO_MCUX_LPC_PORT0
|
|
default "GPIO_0"
|
|
|
|
config GPIO_MCUX_LPC_PORT1
|
|
bool "Port 1"
|
|
depends on PINMUX_MCUX_LPC_PORT1
|
|
help
|
|
Enable Port 1.
|
|
|
|
config GPIO_MCUX_LPC_PORT1_NAME
|
|
string "Port 1 driver name"
|
|
depends on GPIO_MCUX_LPC_PORT1
|
|
default "GPIO_1"
|
|
|
|
endif # GPIO_MCUX_LPC
|