Skip to content

Commit 4f17726

Browse files
ppryga-nordiccarlescufi
authored andcommitted
samples: Bluetooth: df: Fix problem with samples split build
Fix problem with building sample applications where Host is split from Controller into separate binaries. In that situation samples does not have access to controllers Kconfig options. To optimize memory usage by an application, disable not needed features (angle of arrival or angle of departure). Signed-off-by: Piotr Pryga <[email protected]>
1 parent 9731870 commit 4f17726

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

samples/bluetooth/direction_finding_central/overlay-aod.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7-
# Disable AoA Feature (antenna switching) in Rx mode
7+
# Disable AoA Feature (antenna switching) in Rx mode in Controller and Host
88
CONFIG_BT_CTLR_DF_ANT_SWITCH_RX=n
9+
CONFIG_BT_DF_CTE_RX_AOA=n
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
# Disable AoD Feature (antenna switching) in Tx mode
1+
#
2+
# Copyright (c) 2022 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
# Disable AoA Feature (antenna switching) in Rx mode in Controller and Host
28
CONFIG_BT_CTLR_DF_ANT_SWITCH_RX=n
9+
CONFIG_BT_DF_CTE_RX_AOA=n
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
# Disable AoD Feature (antenna switching) in Tx mode
1+
#
2+
# Copyright (c) 2022 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
# Disable AoD Feature (antenna switching) in Tx mode in Controller and Host
28
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n
9+
CONFIG_BT_DF_CTE_TX_AOD=n

samples/bluetooth/direction_finding_peripheral/overlay-aoa.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7-
# Disable AoD Feature (antenna switching) in Tx mode
7+
# Disable AoD Feature (antenna switching) in Tx mode in Controller and Host
88
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n
9+
CONFIG_BT_DF_CTE_TX_AOD=n

0 commit comments

Comments
 (0)