Skip to content

Commit c65aad0

Browse files
aescolargmarull
authored andcommitted
[nrf fromtree] samples ipc_service/static_vrings: Enable for nrf5340bsim
Enable this sample for the nrf5340bsim Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 13efb39)
1 parent aadef01 commit c65aad0

File tree

6 files changed

+21
-0
lines changed

6 files changed

+21
-0
lines changed

samples/subsys/ipc/ipc_service/static_vrings/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
1212
set(REMOTE_ZEPHYR_DIR ${CMAKE_CURRENT_BINARY_DIR}/../remote/zephyr)
1313

1414
if(NOT (CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP OR
15+
CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUAPP OR
1516
CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU0 OR
1617
CONFIG_BOARD_MIMXRT1160_EVK_MIMXRT1166_CM7 OR
1718
CONFIG_BOARD_MIMXRT1170_EVK_MIMXRT1176_CM7

samples/subsys/ipc/ipc_service/static_vrings/Kconfig.sysbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ source "share/sysbuild/Kconfig"
88
config NET_CORE_BOARD
99
string
1010
default "nrf5340dk/nrf5340/cpunet" if $(BOARD) = "nrf5340dk"
11+
default "nrf5340bsim/nrf5340/cpunet" if $(BOARD) = "nrf5340bsim"
1112
default "lpcxpresso55s69/lpc55s69/cpu1" if $(BOARD) = "lpcxpresso55s69"
1213
default "mimxrt1160_evk/mimxrt1166/cm4" if $(BOARD) = "mimxrt1160_evk"
1314
default "mimxrt1170_evk/mimxrt1176/cm4" if $(BOARD) = "mimxrt1170_evk"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "nrf5340dk_nrf5340_cpuapp.overlay"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "nrf5340dk_nrf5340_cpunet.overlay"

samples/subsys/ipc/ipc_service/static_vrings/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ tests:
44
sample.ipc.static_vrings:
55
platform_allow:
66
- nrf5340dk/nrf5340/cpuapp
7+
- nrf5340bsim/nrf5340/cpuapp
78
- lpcxpresso55s69/lpc55s69/cpu0
89
- mimxrt1160_evk/mimxrt1166/cm7
910
- mimxrt1170_evk/mimxrt1176/cm7
1011
- mimxrt1170_evk@B/mimxrt1176/cm7
1112
integration_platforms:
1213
- nrf5340dk/nrf5340/cpuapp
14+
- nrf5340bsim/nrf5340/cpuapp
1315
tags: ipc
1416
sysbuild: true
1517
harness: console

samples/subsys/ipc/ipc_service/static_vrings/sysbuild.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ ExternalZephyrProject_Add(
2121
# remote core's build, such as the output image's LMA
2222
add_dependencies(${DEFAULT_IMAGE} ${REMOTE_APP})
2323
sysbuild_add_dependencies(CONFIGURE ${DEFAULT_IMAGE} ${REMOTE_APP})
24+
25+
native_simulator_set_child_images(${DEFAULT_IMAGE} remote)
26+
native_simulator_set_final_executable(${DEFAULT_IMAGE})

0 commit comments

Comments
 (0)