2017-06-29 12:02:40 +08:00
|
|
|
# Kconfig - nRF51 VBLUno51 board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 VNG IoT Lab Limited.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_NRF51_VBLUNO51
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nrf51_vbluno51"
|
2017-06-29 12:02:40 +08:00
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
config I2C_NRFX
|
2017-06-29 12:02:40 +08:00
|
|
|
def_bool y
|
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
if I2C_NRFX
|
|
|
|
|
2017-06-29 12:02:40 +08:00
|
|
|
config I2C_0
|
2018-05-23 17:52:17 +08:00
|
|
|
def_bool y
|
2017-06-29 12:02:40 +08:00
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
endif #I2C_NRFX
|
2017-06-29 12:02:40 +08:00
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
if I2C_0
|
2017-06-29 12:02:40 +08:00
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
choice I2C_0_NRF_TYPE
|
|
|
|
default I2C_0_NRF_TWI
|
2017-06-29 12:02:40 +08:00
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif # I2C_0
|
|
|
|
|
|
|
|
endif # I2C
|
2017-06-29 12:02:40 +08:00
|
|
|
|
|
|
|
endif # BOARD_NRF51_VBLUNO51
|