41 lines
414 B
Plaintext
41 lines
414 B
Plaintext
# Kconfig - nRF52 PCA10040 board configuration
|
|
#
|
|
# Copyright (c) 2016 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_NRF52_PCA10040
|
|
|
|
config BOARD
|
|
default "nrf52_pca10040"
|
|
|
|
if ADC
|
|
|
|
config ADC_0
|
|
default y
|
|
|
|
endif # ADC
|
|
|
|
if I2C
|
|
|
|
config I2C_0
|
|
default y
|
|
|
|
endif # I2C
|
|
|
|
if PWM
|
|
|
|
config PWM_0
|
|
default y
|
|
|
|
endif # PWM
|
|
|
|
if SPI
|
|
|
|
config SPI_1
|
|
default y
|
|
|
|
endif # SPI
|
|
|
|
endif # BOARD_NRF52_PCA10040
|