samples ipc_service/icmsg: Enable for nrf5340bsim
Enable this sample for the nrf5340bsim Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
be35bbd4c0
commit
ca62ff801c
6 changed files with 23 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ cmake_minimum_required(VERSION 3.20.0)
|
|||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
|
||||
if(NOT CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP AND
|
||||
NOT CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUAPP AND
|
||||
NOT CONFIG_BOARD_STM32H747I_DISCO AND
|
||||
NOT CONFIG_BOARD_NRF54L15DK_NRF54L15_CPUAPP AND
|
||||
NOT CONFIG_BOARD_NRF54L15PDK_NRF54L15_CPUAPP)
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ source "share/sysbuild/Kconfig"
|
|||
config REMOTE_BOARD
|
||||
string
|
||||
default "nrf5340dk/nrf5340/cpunet" if $(BOARD) = "nrf5340dk"
|
||||
default "nrf5340bsim/nrf5340/cpunet" if $(BOARD) = "nrf5340bsim"
|
||||
default "nrf54l15pdk/nrf54l15/cpuflpr" if $(BOARD) = "nrf54l15pdk"
|
||||
default "nrf54l15dk/nrf54l15/cpuflpr" if $(BOARD) = "nrf54l15dk"
|
||||
default "stm32h747i_disco/stm32h747xx/m4" if $(BOARD) = "stm32h747i_disco"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "nrf5340dk_nrf5340_cpuapp.overlay"
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2022 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "nrf5340dk_nrf5340_cpunet.overlay"
|
||||
|
|
@ -2,9 +2,12 @@ sample:
|
|||
name: IPC Service example integration (icmsg backend)
|
||||
tests:
|
||||
sample.ipc.icmsg:
|
||||
platform_allow: nrf5340dk/nrf5340/cpuapp
|
||||
platform_allow:
|
||||
- nrf5340dk/nrf5340/cpuapp
|
||||
- nrf5340bsim/nrf5340/cpuapp
|
||||
integration_platforms:
|
||||
- nrf5340dk/nrf5340/cpuapp
|
||||
- nrf5340bsim/nrf5340/cpuapp
|
||||
tags: ipc
|
||||
sysbuild: true
|
||||
harness: console
|
||||
|
|
|
|||
|
|
@ -12,3 +12,6 @@ ExternalZephyrProject_Add(
|
|||
SOURCE_DIR ${APP_DIR}/remote
|
||||
BOARD ${SB_CONFIG_REMOTE_BOARD}
|
||||
)
|
||||
|
||||
native_simulator_set_child_images(${DEFAULT_IMAGE} remote)
|
||||
native_simulator_set_final_executable(${DEFAULT_IMAGE})
|
||||
|
|
|
|||
Loading…
Reference in a new issue