Redefining the config will not let another (out-of-source) driver be chosen instead of the default. The driver is practically forced by the soc settings. This commit moves default settings from soc/arm/nordic_nrf into the drivers themselves. Signed-off-by: Thomas Stenersen <thomas.stenersen@nordicsemi.no>
22 lines
332 B
Text
22 lines
332 B
Text
# Kconfig.defconfig - Nordic Semiconductor nRFx MCU line
|
|
#
|
|
# Copyright (c) 2016-2018 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if SOC_FAMILY_NRF
|
|
|
|
source "soc/arm/nordic_nrf/*/Kconfig.defconfig.series"
|
|
|
|
config BUILD_OUTPUT_HEX
|
|
default y
|
|
|
|
if SPI
|
|
|
|
config GPIO
|
|
default y
|
|
|
|
endif # SPI
|
|
|
|
endif # SOC_FAMILY_NRF
|