Same deal as in commit 4638652214
("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
22 lines
340 B
Text
22 lines
340 B
Text
# Kconfig - nRF52840 PCA10090 board configuration
|
|
#
|
|
# Copyright (c) 2018 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_NRF52840_PCA10090
|
|
|
|
config BOARD
|
|
default "nrf52840_pca10090"
|
|
|
|
if IEEE802154
|
|
|
|
config IEEE802154_NRF5
|
|
default y
|
|
|
|
endif # IEEE802154
|
|
|
|
config BT_CTLR
|
|
default BT
|
|
|
|
endif # BOARD_NRF52840_PCA10090
|