37 lines
439 B
Plaintext
37 lines
439 B
Plaintext
# 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"
|
|
|
|
config ADC_0
|
|
default y
|
|
depends on ADC
|
|
|
|
config I2C_0
|
|
default y
|
|
depends on I2C
|
|
|
|
config PWM_0
|
|
default y
|
|
depends on PWM
|
|
|
|
if SPI
|
|
|
|
config SPI_1
|
|
default y
|
|
|
|
config SPI_2
|
|
default y
|
|
|
|
endif # SPI
|
|
|
|
config BT_CTLR
|
|
default BT
|
|
|
|
endif # BOARD_NRF52_PCA10040
|