mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-29 03:46:33 +00:00
Defining a symbol with 'menuconfig' just tells the menuconfig to display any dependent symbols that immediately follow it in a separate menu. 'menuconfig' has no effect on symbol values. Making a symbol that doesn't have any dependent symbols after it a 'menuconfig' should be avoided, because then you end up with an empty menu, which is shown as e.g. [*] Enable foo --- This is how it would be shown if there were children but they all happened to be invisible as well. With a regular 'config', it turns into [*] Enable foo Change all pointless 'menuconfig's to 'config's. See the section on 'menuconfig' on the Kconfig - Tips and Best Practices page as well. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
13 lines
308 B
Plaintext
13 lines
308 B
Plaintext
# Kconfig.sam - Atmel SAM GPIO configuration options
|
|
#
|
|
# Copyright (c) 2018 Justin Watson
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config GPIO_SAM
|
|
bool "Atmel SAM GPIO (PORT) driver"
|
|
default y
|
|
depends on SOC_FAMILY_SAM
|
|
select HAS_DTS_GPIO
|
|
help
|
|
Enable support for the Atmel SAM 'PORT' GPIO controllers.
|