Skip to content

Commit 1a7a0dd

Browse files
alexandru-porosanu-nxpMaureenHelm
authored andcommitted
samples: bluetooth: hci_uart: add VEGABoard configuration
VEGABoard BLE controller implementation supports HCI over UART; as such enable this configuration when building the hci_uart sample. Signed-off-by: Alex Porosanu <[email protected]>
1 parent 1b604b9 commit 1a7a0dd

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

samples/bluetooth/hci_uart/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ if(BOARD STREQUAL bbc_microbit)
55
set(CONF_FILE microbit.conf)
66
elseif(BOARD STREQUAL nrf52840_pca10090)
77
set(CONF_FILE nrf52840_pca10090.conf)
8+
elseif(BOARD STREQUAL rv32m1_vega_ri5cy)
9+
set(CONF_FILE rv32m1_vega_ri5cy.conf)
810
else()
911
set(CONF_FILE nrf5.conf)
1012
endif()
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#
2+
# Copyright 2020, NXP
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
CONFIG_CONSOLE=n
8+
CONFIG_STDOUT_CONSOLE=n
9+
CONFIG_UART_CONSOLE=n
10+
CONFIG_GPIO=y
11+
CONFIG_SERIAL=y
12+
13+
CONFIG_BT=y
14+
CONFIG_BT_HCI_RAW=y
15+
CONFIG_BT_MAX_CONN=16
16+
CONFIG_BT_TINYCRYPT_ECC=n
17+
CONFIG_BT_CTLR_DTM_HCI=y
18+
CONFIG_BT_CTLR_ASSERT_HANDLER=y
19+
20+
CONFIG_UART_RV32M1_LPUART_0=y
21+
CONFIG_UART_INTERRUPT_DRIVEN=y
22+
CONFIG_BT_CTLR_TO_HOST_UART_DEV_NAME="UART_0"

0 commit comments

Comments
 (0)