2016-09-15 21:26:48 +08:00
|
|
|
# Kconfig - nRF51 PCA10028 board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Linaro Limited.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-09-15 21:26:48 +08:00
|
|
|
|
|
|
|
if BOARD_NRF51_PCA10028
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nrf51_pca10028"
|
2016-09-15 21:26:48 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
if GPIO_NRF5
|
2016-09-15 21:26:48 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
config GPIO_NRF5_P0
|
2016-09-15 21:26:48 +08:00
|
|
|
default y
|
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
endif # GPIO_NRF5
|
2016-09-15 21:26:48 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
if UART_NRF5
|
2016-09-15 21:26:48 +08:00
|
|
|
|
2016-10-23 19:29:00 +08:00
|
|
|
config UART_NRF5_GPIO_TX_PIN
|
|
|
|
default 9
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_RX_PIN
|
|
|
|
default 11
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_RTS_PIN
|
|
|
|
default 8
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_CTS_PIN
|
|
|
|
default 10
|
|
|
|
|
2016-09-15 21:26:48 +08:00
|
|
|
endif # UART_NRF5
|
|
|
|
|
|
|
|
endif # BOARD_NRF51_PCA10028
|