Add support for running the audio BSIM tests on the nrf5340bsim board. This expands the tests we run in CI. To support all tests with the hci_ipc sample for the netcore, it is updated to support a bit more while still fitting on the netcore on the nRF5340 series. The behavior of advertisement seems to differ a little bit, which required the bap_unicast_server_test.c to update how it restarts advertisements. Two broadcast tests that are passing on the nRF52 BSIM is also failing due an assert. This should be investigated at a later time. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
23 lines
743 B
Plaintext
23 lines
743 B
Plaintext
# Copyright (c) 2023-2024 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
source "share/sysbuild/Kconfig"
|
|
|
|
config NET_CORE_BOARD
|
|
string
|
|
default "nrf5340dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340dk"
|
|
default "nrf5340_audio_dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340_audio_dk"
|
|
default "nrf5340bsim/nrf5340/cpunet" if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP"
|
|
|
|
config NET_CORE_IMAGE_HCI_IPC
|
|
bool "HCI IPC image on network core"
|
|
default y
|
|
depends on NET_CORE_BOARD != ""
|
|
|
|
|
|
config NATIVE_SIMULATOR_PRIMARY_MCU_INDEX
|
|
int
|
|
# Let's pass the test arguments to the application MCU test
|
|
# otherwise by default they would have gone to the net core.
|
|
default 0 if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP"
|