• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/03-Aug-2024-378323

remote/03-Aug-2024-751585

src/03-Aug-2024-286196

CMakeLists.txtD03-Aug-2024807 3324

KconfigD03-Aug-2024295 129

Kconfig.sysbuildD03-Aug-2024519 1512

README.rstD03-Aug-20242.7 KiB9674

prj.confD03-Aug-2024173 128

sample.yamlD03-Aug-2024882 2625

sysbuild.cmakeD03-Aug-2024759 2419

README.rst

1.. zephyr:code-sample:: ipc-static-vrings
2   :name: IPC service: static vrings backend
3   :relevant-api: ipc
4
5   Send messages between two cores using the IPC service and static vrings backend.
6
7Overview
8********
9
10This application demonstrates how to use IPC Service and the static vrings
11backend with Zephyr. It is designed to demonstrate how to integrate it with
12Zephyr both from a build perspective and code.
13
14Building the application for nrf5340dk/nrf5340/cpuapp
15*****************************************************
16
17.. zephyr-app-commands::
18   :zephyr-app: samples/subsys/ipc/ipc_service/static_vrings
19   :board: nrf5340dk/nrf5340/cpuapp
20   :goals: debug
21   :west-args: --sysbuild
22
23Building the application for lpcxpresso55s69/lpc55s69/cpu0
24**********************************************************
25
26.. zephyr-app-commands::
27   :zephyr-app: samples/subsys/ipc/ipc_service/static_vrings
28   :board: lpcxpresso55s69/lpc55s69/cpu0
29   :goals: debug
30   :west-args: --sysbuild
31
32Building the application for mimxrt1160_evk/mimxrt1166/cm7
33**********************************************************
34
35.. zephyr-app-commands::
36   :zephyr-app: samples/subsys/ipc/ipc_service/static_vrings
37   :board: mimxrt1160_evk/mimxrt1166/cm7
38   :goals: debug
39   :west-args: --sysbuild
40
41Building the application for mimxrt1170_evk/mimxrt1176/cm7
42**********************************************************
43
44.. zephyr-app-commands::
45   :zephyr-app: samples/subsys/ipc/ipc_service/static_vrings
46   :board: mimxrt1170_evk/mimxrt1176/cm7
47   :goals: debug
48   :west-args: --sysbuild
49
50Building the application for mimxrt1170_evk@B/mimxrt1176/cm7
51************************************************************
52
53.. zephyr-app-commands::
54   :zephyr-app: samples/subsys/ipc/ipc_service/static_vrings
55   :board: mimxrt1170_evk@B/mimxrt1176/cm7
56   :goals: debug
57   :west-args: --sysbuild
58
59Open a serial terminal (minicom, putty, etc.) and connect the board with the
60following settings:
61
62- Speed: 115200
63- Data: 8 bits
64- Parity: None
65- Stop bits: 1
66
67Reset the board and the following message will appear on the corresponding
68serial port, one is host another is remote:
69
70.. code-block:: console
71
72   *** Booting Zephyr OS build zephyr-v3.1.0-2383-g147aee22f273  ***
73   IPC-service HOST [INST 0 - ENDP A] demo started
74   IPC-service HOST [INST 0 - ENDP B] demo started
75   IPC-service HOST [INST 1] demo started
76   HOST [1]: 1
77   HOST [1]: 3
78   HOST [1]: 5
79   HOST [1]: 7
80   HOST [1]: 9
81   ...
82
83
84.. code-block:: console
85
86   *** Booting Zephyr OS build zephyr-v3.1.0-2383-g147aee22f273  ***
87   IPC-service REMOTE [INST 0 - ENDP A] demo started
88   IPC-service REMOTE [INST 0 - ENDP B] demo started
89   IPC-service REMOTE [INST 1] demo started
90   REMOTE [1]: 0
91   REMOTE [1]: 2
92   REMOTE [1]: 4
93   REMOTE [1]: 6
94   REMOTE [1]: 8
95   ...
96