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	native_simulator_set_primary_mcu_index(${DEFAULT_IMAGE} ${NET_APP})
15
16	native_simulator_set_child_images(${DEFAULT_IMAGE} ${NET_APP})
17endif()
18
19native_simulator_set_final_executable(${DEFAULT_IMAGE})
20