Skip to content

Commit

Permalink
[nrf noup] tests: bluetooth: tester: build with sysbuild
Browse files Browse the repository at this point in the history
To enable common sysbuild hci_ipc build for rad core:
Kconfig.sysbuild
sysbuild/prj.conf
added for multicore devices (nRF53/54H)

Signed-off-by: Aytürk Düzen <[email protected]>
  • Loading branch information
AyturkDuzen committed Sep 6, 2024
1 parent 681f57f commit 609992e
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 15 deletions.
10 changes: 10 additions & 0 deletions tests/bluetooth/tester/Kconfig.sysbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

source "${ZEPHYR_BASE}/share/sysbuild/Kconfig"

config NRF_DEFAULT_IPC_RADIO
default y

config NETCORE_IPC_RADIO_BT_HCI_IPC
default y
7 changes: 0 additions & 7 deletions tests/bluetooth/tester/nrf5340_hci_ipc.conf

This file was deleted.

8 changes: 0 additions & 8 deletions tests/bluetooth/tester/nrf5340_hci_ipc_cpunet.conf

This file was deleted.

29 changes: 29 additions & 0 deletions tests/bluetooth/tester/sysbuild/prj.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
CONFIG_IPC_SERVICE=y
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_HCI_RAW_RESERVE=1

# 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

# Apply this overlay at hci_ipc controller build
CONFIG_BT_CTLR_CONN_ISO_LOW_LATENCY_POLICY=y
CONFIG_BT_CTLR_PERIPHERAL_ISO_EARLY_CIG_START=y
CONFIG_BT_CTLR_ISOAL_PSN_IGNORE=y
CONFIG_BT_MAX_CONN=3
CONFIG_BT_MAX_PAIRED=3

# Those have to be the same as in the controller (hci_ipc)
CONFIG_BT_BUF_EVT_RX_COUNT=16
CONFIG_BT_BUF_EVT_RX_SIZE=255
CONFIG_BT_BUF_CMD_TX_SIZE=255
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_ACL_RX_SIZE=255

0 comments on commit 609992e

Please sign in to comment.