1# Copyright (c) 2023 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4if("${SB_CONFIG_NET_CORE_BOARD}" STREQUAL "") 5 message(FATAL_ERROR 6 "Target ${BOARD} not supported for this sample. " 7 "There is no remote board selected in Kconfig.sysbuild") 8endif() 9 10set(NET_APP remote) 11 12ExternalZephyrProject_Add( 13 APPLICATION ${NET_APP} 14 SOURCE_DIR ${APP_DIR}/${NET_APP} 15 BOARD ${SB_CONFIG_NET_CORE_BOARD} 16) 17 18native_simulator_set_child_images(${DEFAULT_IMAGE} ${NET_APP}) 19 20native_simulator_set_final_executable(${DEFAULT_IMAGE}) 21