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 <piotr.pryga@nordicsemi.no>
This commit is contained in:
Piotr Pryga 2022-02-10 14:15:58 +01:00 committed by Carles Cufí
parent 97318703e4
commit 4f17726bb1
4 changed files with 20 additions and 4 deletions

View file

@ -4,5 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#
# Disable AoA Feature (antenna switching) in Rx mode
# Disable AoA Feature (antenna switching) in Rx mode in Controller and Host
CONFIG_BT_CTLR_DF_ANT_SWITCH_RX=n
CONFIG_BT_DF_CTE_RX_AOA=n

View file

@ -1,2 +1,9 @@
# Disable AoD Feature (antenna switching) in Tx mode
#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
# Disable AoA Feature (antenna switching) in Rx mode in Controller and Host
CONFIG_BT_CTLR_DF_ANT_SWITCH_RX=n
CONFIG_BT_DF_CTE_RX_AOA=n

View file

@ -1,2 +1,9 @@
# Disable AoD Feature (antenna switching) in Tx mode
#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
# Disable AoD Feature (antenna switching) in Tx mode in Controller and Host
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n
CONFIG_BT_DF_CTE_TX_AOD=n

View file

@ -4,5 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#
# Disable AoD Feature (antenna switching) in Tx mode
# Disable AoD Feature (antenna switching) in Tx mode in Controller and Host
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n
CONFIG_BT_DF_CTE_TX_AOD=n