2023-10-27 15:51:46 +08:00
|
|
|
# Copyright (c) 2023 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if(NOT("${SB_CONFIG_NET_CORE_BOARD}" STREQUAL ""))
|
2023-08-29 03:04:28 +08:00
|
|
|
set(NET_APP hci_ipc)
|
2023-10-27 15:51:46 +08:00
|
|
|
set(NET_APP_SRC_DIR ${ZEPHYR_BASE}/samples/bluetooth/${NET_APP})
|
|
|
|
|
|
|
|
ExternalZephyrProject_Add(
|
|
|
|
APPLICATION ${NET_APP}
|
|
|
|
SOURCE_DIR ${NET_APP_SRC_DIR}
|
|
|
|
BOARD ${SB_CONFIG_NET_CORE_BOARD}
|
|
|
|
)
|
|
|
|
|
2023-11-30 01:46:21 +08:00
|
|
|
native_simulator_set_primary_mcu_index(${DEFAULT_IMAGE} ${NET_APP})
|
2023-10-27 15:51:46 +08:00
|
|
|
|
2023-11-30 01:46:21 +08:00
|
|
|
native_simulator_set_child_images(${DEFAULT_IMAGE} ${NET_APP})
|
2023-10-27 15:51:46 +08:00
|
|
|
endif()
|
|
|
|
|
2023-11-30 01:46:21 +08:00
|
|
|
native_simulator_set_final_executable(${DEFAULT_IMAGE})
|