1# Copyright (c) 2023 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4if(NOT("${SB_CONFIG_NET_CORE_BOARD}" STREQUAL ""))
5	set(NET_APP hci_ipc)
6	set(NET_APP_SRC_DIR ${ZEPHYR_BASE}/samples/bluetooth/${NET_APP})
7
8	ExternalZephyrProject_Add(
9		APPLICATION ${NET_APP}
10		SOURCE_DIR  ${NET_APP_SRC_DIR}
11		BOARD       ${SB_CONFIG_NET_CORE_BOARD}
12	)
13
14	set(${NET_APP}_CONF_FILE
15	 ${NET_APP_SRC_DIR}/nrf5340_cpunet_iso-bt_ll_sw_split.conf
16	 CACHE INTERNAL ""
17	)
18
19	native_simulator_set_primary_mcu_index(${DEFAULT_IMAGE} ${NET_APP})
20
21	native_simulator_set_child_images(${DEFAULT_IMAGE} ${NET_APP})
22endif()
23
24native_simulator_set_final_executable(${DEFAULT_IMAGE})
25