2016-12-14 23:37:45 +08:00
|
|
|
# Kconfig - nRF52 BLENANO 2 board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Nordic Semiconductor ASA
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_NRF52_BLENANO2
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nrf52_blenano2"
|
2016-12-14 23:37:45 +08:00
|
|
|
|
2018-05-11 14:52:48 +08:00
|
|
|
if I2C
|
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
config I2C_NRFX
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
if I2C_NRFX
|
2018-05-11 14:52:48 +08:00
|
|
|
|
|
|
|
config I2C_0
|
2018-05-23 17:52:17 +08:00
|
|
|
def_bool y
|
2018-05-11 14:52:48 +08:00
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
endif #I2C_NRFX
|
|
|
|
|
|
|
|
if I2C_0
|
|
|
|
|
|
|
|
choice I2C_0_NRF_TYPE
|
|
|
|
default I2C_0_NRF_TWIM
|
2018-05-11 14:52:48 +08:00
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
endchoice
|
2018-05-11 14:52:48 +08:00
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
endif # I2C_0
|
2018-05-11 14:52:48 +08:00
|
|
|
|
2018-05-23 17:52:17 +08:00
|
|
|
endif # I2C
|
2018-05-11 14:52:48 +08:00
|
|
|
|
2016-12-14 23:37:45 +08:00
|
|
|
endif # BOARD_NRF52_BLENANO2
|