mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-17 07:07:32 +00:00
Most of these are from source'ing a file within an 'if GPIO', and then adding another 'depends on GPIO' within it. 'if FOO' is just shorthand for adding 'depends on FOO' to each item within the 'if'. There are no "conditional includes" in Kconfig, so 'if FOO' has no special meaning around a 'source'. Conditional includes wouldn't be possible, because an 'if' condition could include (directly or indirectly) forward references to symbols not defined yet. Tip: When adding a symbol, check its dependencies in the menuconfig ('ninja menuconfig', then / to jump to the symbol). The menuconfig also shows how the file with the symbol got included, so if you see duplicated dependencies, it's easy to hunt down where they come from. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
45 lines
797 B
Plaintext
45 lines
797 B
Plaintext
# Kconfig.sam - Stellaris
|
|
#
|
|
# Copyright (c) 2018 Zilogic Systems
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig GPIO_STELLARIS
|
|
bool "TI Stellaris GPIO Driver"
|
|
depends on SOC_TI_LM3S6965
|
|
select HAS_DTS_GPIO
|
|
help
|
|
Enable support for the Stellaris GPIO controllers.
|
|
|
|
if GPIO_STELLARIS
|
|
|
|
config GPIO_A_STELLARIS
|
|
bool "Enable GPIO port A support"
|
|
default y
|
|
|
|
config GPIO_B_STELLARIS
|
|
bool "Enable GPIO port B support"
|
|
default y
|
|
|
|
config GPIO_C_STELLARIS
|
|
bool "Enable GPIO port C support"
|
|
default y
|
|
|
|
config GPIO_D_STELLARIS
|
|
bool "Enable GPIO port D support"
|
|
default y
|
|
|
|
config GPIO_E_STELLARIS
|
|
bool "Enable GPIO port E support"
|
|
default y
|
|
|
|
config GPIO_F_STELLARIS
|
|
bool "Enable GPIO port F support"
|
|
default y
|
|
|
|
config GPIO_G_STELLARIS
|
|
bool "Enable GPIO port G support"
|
|
default y
|
|
|
|
endif
|