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
|
|
|
|
2018-06-08 21:29:24 +08:00
|
|
|
if UART_NRFX
|
2016-09-15 21:26:48 +08:00
|
|
|
|
2018-06-08 21:29:24 +08:00
|
|
|
config UART_0_NRF_TX_PIN
|
2016-10-23 19:29:00 +08:00
|
|
|
default 9
|
|
|
|
|
2018-06-08 21:29:24 +08:00
|
|
|
config UART_0_NRF_RX_PIN
|
2016-10-23 19:29:00 +08:00
|
|
|
default 11
|
|
|
|
|
2018-06-08 21:29:24 +08:00
|
|
|
config UART_0_NRF_RTS_PIN
|
2016-10-23 19:29:00 +08:00
|
|
|
default 8
|
|
|
|
|
2018-06-08 21:29:24 +08:00
|
|
|
config UART_0_NRF_CTS_PIN
|
2016-10-23 19:29:00 +08:00
|
|
|
default 10
|
|
|
|
|
2018-06-08 21:29:24 +08:00
|
|
|
endif # UART_NRFX
|
2016-09-15 21:26:48 +08:00
|
|
|
|
|
|
|
endif # BOARD_NRF51_PCA10028
|