2016-11-02 16:22:29 +08:00
|
|
|
# Kconfig - nRF51 BBC_MICROBIT board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Nordic Semiconductor ASA
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-11-02 16:22:29 +08:00
|
|
|
|
|
|
|
if BOARD_BBC_MICROBIT
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default bbc_microbit
|
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
if GPIO_NRF5
|
2016-11-02 16:22:29 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
config GPIO_NRF5_P0
|
2016-11-02 16:22:29 +08:00
|
|
|
default y
|
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
endif # GPIO_NRF5
|
2016-11-02 16:22:29 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
if UART_NRF5
|
2016-11-02 16:22:29 +08:00
|
|
|
|
|
|
|
config UART_NRF5_GPIO_TX_PIN
|
|
|
|
default 24
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_RX_PIN
|
|
|
|
default 25
|
|
|
|
|
|
|
|
endif # UART_NRF5
|
|
|
|
|
|
|
|
endif # BOARD_BBC_MICROBIT
|