2016-05-18 22:53:48 +08:00
|
|
|
# Kconfig - nRF52 PCA10040 board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Nordic Semiconductor ASA
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-05-18 22:53:48 +08:00
|
|
|
|
|
|
|
if BOARD_NRF52_PCA10040
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nrf52_pca10040"
|
2016-05-18 22:53:48 +08:00
|
|
|
|
2018-12-20 22:16:42 +08:00
|
|
|
if ADC
|
|
|
|
|
|
|
|
config ADC_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # ADC
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
2016-05-18 22:53:48 +08:00
|
|
|
endif # BOARD_NRF52_PCA10040
|