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
|
|
|
|
default nrf52_pca10040
|
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
if GPIO_NRF5
|
2016-05-18 22:53:48 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
config GPIO_NRF5_P0
|
2016-05-18 22:53:48 +08:00
|
|
|
default y
|
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
endif # GPIO_NRF5
|
2016-05-18 22:53:48 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
if UART_NRF5
|
2016-05-18 22:53:48 +08:00
|
|
|
|
2016-10-23 19:29:00 +08:00
|
|
|
config UART_NRF5_GPIO_TX_PIN
|
|
|
|
default 6
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_RX_PIN
|
|
|
|
default 8
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_RTS_PIN
|
|
|
|
default 5
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_CTS_PIN
|
|
|
|
default 7
|
|
|
|
|
2016-05-18 22:53:48 +08:00
|
|
|
endif # UART_NRF5
|
|
|
|
|
|
|
|
endif # BOARD_NRF52_PCA10040
|