From 1e5f283aff9935a8db5c0409cb147b5d45690a1c Mon Sep 17 00:00:00 2001 From: Marek Pieta Date: Fri, 24 May 2024 09:19:12 +0200 Subject: [PATCH] samples: fast_pair: input_device: Fix build failures on nRF5340 DK Change brings back hci_ipc configuration used for child images to fix build errors on nRF5340 DK. Jira: NCSDK-27508 Signed-off-by: Marek Pieta --- .../input_device/sysbuild/hci_ipc.conf | 8 ++++++ .../input_device/sysbuild/hci_ipc/prj.conf | 25 ------------------- 2 files changed, 8 insertions(+), 25 deletions(-) create mode 100644 samples/bluetooth/fast_pair/input_device/sysbuild/hci_ipc.conf delete mode 100644 samples/bluetooth/fast_pair/input_device/sysbuild/hci_ipc/prj.conf diff --git a/samples/bluetooth/fast_pair/input_device/sysbuild/hci_ipc.conf b/samples/bluetooth/fast_pair/input_device/sysbuild/hci_ipc.conf new file mode 100644 index 00000000000..96ef6fc60e6 --- /dev/null +++ b/samples/bluetooth/fast_pair/input_device/sysbuild/hci_ipc.conf @@ -0,0 +1,8 @@ +# +# Copyright (c) 2024 Nordic Semiconductor +# +# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause +# + +# The sample reads TX power from controller and includes it into advertising packet +CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y diff --git a/samples/bluetooth/fast_pair/input_device/sysbuild/hci_ipc/prj.conf b/samples/bluetooth/fast_pair/input_device/sysbuild/hci_ipc/prj.conf deleted file mode 100644 index bf6d8186082..00000000000 --- a/samples/bluetooth/fast_pair/input_device/sysbuild/hci_ipc/prj.conf +++ /dev/null @@ -1,25 +0,0 @@ -CONFIG_MBOX=y - -CONFIG_HEAP_MEM_POOL_SIZE=8192 - -CONFIG_MAIN_STACK_SIZE=512 -CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512 - -CONFIG_BT=y -CONFIG_BT_HCI_RAW=y -CONFIG_BT_MAX_CONN=16 - - -# Workaround: Unable to allocate command buffer when using K_NO_WAIT since -# Host number of completed commands does not follow normal flow control. -CONFIG_BT_BUF_CMD_TX_COUNT=10 - -# Enable and adjust the below value as necessary -# CONFIG_BT_BUF_EVT_RX_COUNT=16 -# CONFIG_BT_BUF_EVT_RX_SIZE=255 -# CONFIG_BT_BUF_ACL_RX_SIZE=255 -# CONFIG_BT_BUF_ACL_TX_SIZE=251 -# CONFIG_BT_BUF_CMD_TX_SIZE=255 - -# The sample reads TX power from controller and includes it into advertising packet -CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y