Skip to content

Commit e091bc6

Browse files
ppryga-nordicmbolivar-nordic
authored andcommitted
samples: bluetooth: df: rx: Move BLE ctrl conf into board spec file
Move BLE controller configuration from top level prj.conf file into boards/<BOARD>.conf file. That change is required to allow the sample to build for nRF5340 SOC where BLE cotroller is run on network core and is not part of the sample application image. Signed-off-by: Piotr Pryga <[email protected]>
1 parent 0708e97 commit e091bc6

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Copyright (c) 2021 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
CONFIG_BT_CTLR=y
8+
CONFIG_BT_LL_SW_SPLIT=y
9+
10+
CONFIG_BT_CTLR_ADV_EXT=y
11+
CONFIG_BT_CTLR_SYNC_PERIODIC=y
12+
13+
# Enable Direction Finding Feature including AoA and AoD
14+
CONFIG_BT_CTLR_DF=y
15+
16+
# Disable Direction Finding TX mode
17+
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n
18+
CONFIG_BT_CTLR_DF_ADV_CTE_TX=n

samples/bluetooth/direction_finding_connectionless_rx/boards/nrf52833dk_nrf52833.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/* This is a number of antennas that are available on antenna matrix
1010
* designed by Nordic. For more information see README.rst.
1111
*/
12-
dfe-antenna-num = < 12 >;
12+
dfe-antenna-num = <12>;
1313
/* This is a setting that enables antenna 12 (in antenna matrix designed
1414
* by Nordic) for Rx PDU. For more information see README.rst.
1515
*/

samples/bluetooth/direction_finding_connectionless_rx/prj.conf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#
66

77
CONFIG_BT=y
8-
CONFIG_BT_CTLR=y
9-
CONFIG_BT_LL_SW_SPLIT=y
108
CONFIG_BT_DEVICE_NAME="DF Connectionless Locator App"
119

1210
CONFIG_BT_EXT_ADV=y
@@ -16,12 +14,3 @@ CONFIG_BT_OBSERVER=y
1614
# Enable Direction Finding Feature including AoA and AoD
1715
CONFIG_BT_DF=y
1816
CONFIG_BT_DF_CONNECTIONLESS_CTE_RX=y
19-
20-
CONFIG_BT_CTLR_ADV_EXT=y
21-
CONFIG_BT_CTLR_SYNC_PERIODIC=y
22-
# Enable Direction Finding Feature including AoA and AoD
23-
CONFIG_BT_CTLR_DF=y
24-
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n
25-
26-
# Disable Direction Finding Tx mode
27-
CONFIG_BT_CTLR_DF_ADV_CTE_TX=n

0 commit comments

Comments
 (0)