2017-07-12 09:43:09 +08:00
|
|
|
# Kconfig - nRF52 VBLUno52 board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 VNG IoT Lab
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_NRF52_VBLUNO52
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default nrf52_vbluno52
|
|
|
|
|
|
|
|
if GPIO_NRF5
|
|
|
|
|
|
|
|
config GPIO_NRF5_P0
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # GPIO_NRF5
|
|
|
|
|
|
|
|
if UART_NRF5
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
endif # UART_NRF5
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_NRF5
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config I2C_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
|
|
|
if I2C_NRF5
|
|
|
|
|
2018-02-01 17:19:43 +08:00
|
|
|
config I2C_NRF5_0_GPIO_SCL_PIN
|
2017-07-12 09:43:09 +08:00
|
|
|
default 27
|
|
|
|
|
2018-02-01 17:19:43 +08:00
|
|
|
config I2C_NRF5_0_GPIO_SDA_PIN
|
2017-07-12 09:43:09 +08:00
|
|
|
default 26
|
|
|
|
|
|
|
|
endif # I2C_NRF5
|
|
|
|
|
|
|
|
endif # BOARD_NRF52_VBLUNO52
|