2021-10-15 17:56:30 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
|
2024-01-31 00:12:34 +08:00
|
|
|
# Copyright 2023-2024 NXP
|
2021-10-15 17:56:30 +08:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
|
2023-10-24 16:24:55 +08:00
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
|
|
|
2024-03-20 16:50:29 +08:00
|
|
|
if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUNET OR
|
|
|
|
CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUNET OR
|
|
|
|
CONFIG_BOARD_ADP_XC7K_AE350 OR
|
|
|
|
CONFIG_BOARD_MIMXRT1170_EVK_MIMXRT1176_CM4 OR
|
|
|
|
CONFIG_BOARD_MIMXRT1160_EVK_MIMXRT1166_CM4 OR
|
|
|
|
CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU1 OR
|
|
|
|
CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUPPR)
|
2024-03-21 23:31:11 +08:00
|
|
|
message(STATUS "${BOARD}${BOARD_QUALIFIERS} compile as remote in this sample")
|
2021-10-15 17:56:30 +08:00
|
|
|
else()
|
2024-03-20 16:50:29 +08:00
|
|
|
message(FATAL_ERROR "${BOARD}${BOARD_QUALIFIERS} is not supported for this sample")
|
2021-10-15 17:56:30 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
project(mbox_ipc_remote)
|
|
|
|
|
|
|
|
target_sources(app PRIVATE src/main.c)
|