File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ target_sources(native_simulator INTERFACE
35
35
common/trace_hook.c
36
36
)
37
37
38
+ if (CONFIG_IPC_SERVICE )
39
+ target_sources (native_simulator INTERFACE
40
+ ipc_backend.c
41
+ )
42
+ endif ()
43
+
38
44
zephyr_include_directories (
39
45
soc
40
46
common
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2023 Nordic Semiconductor ASA
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ /*
8
+ * This buffer is the shared memory buffer for the RPMSG IPC backed
9
+ * in simulation.
10
+ * It must be at last as large as the size defined in device tree, but as it will be compiled in
11
+ * the native simulator runner context we cannot refer to DT itself to size it.
12
+ * The default buffer for this target is defined in
13
+ * boards/arm/nrf5340dk_nrf5340/nrf5340_shared_sram_planning_conf.dtsi
14
+ */
15
+ char IPC0_shm_buffer [65536 ];
You can’t perform that action at this time.
0 commit comments