1# 2# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com> 3# Copyright 2023-2024 NXP 4# 5# SPDX-License-Identifier: Apache-2.0 6# 7 8cmake_minimum_required(VERSION 3.20.0) 9 10find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 11 12if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUNET OR 13 CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUNET OR 14 CONFIG_BOARD_ADP_XC7K_AE350 OR 15 CONFIG_BOARD_MIMXRT1170_EVK_MIMXRT1176_CM4 OR 16 CONFIG_BOARD_MIMXRT1160_EVK_MIMXRT1166_CM4 OR 17 CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU1 OR 18 CONFIG_BOARD_ESP32_DEVKITC_WROOM_ESP32_APPCPU OR 19 CONFIG_BOARD_ESP32S3_DEVKITM_ESP32S3_APPCPU OR 20 CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUPPR OR 21 CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUFLPR OR 22 CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP OR 23 CONFIG_BOARD_NRF54L15DK_NRF54L15_CPUFLPR OR 24 CONFIG_BOARD_STM32H747I_DISCO_STM32H747XX_M4) 25 message(STATUS "${BOARD}${BOARD_QUALIFIERS} compile as remote in this sample") 26else() 27 message(FATAL_ERROR "${BOARD}${BOARD_QUALIFIERS} is not supported for this sample") 28endif() 29 30project(mbox_ipc_remote) 31 32target_sources(app PRIVATE src/main.c) 33