README.rst
1.. _static_vrings_sample:
2
3IPC Service - static vrings - Sample Application
4################################################
5
6Overview
7********
8
9This application demonstrates how to use IPC Service and the static vrings
10backend with Zephyr. It is designed to demonstrate how to integrate it with
11Zephyr both from a build perspective and code.
12
13Building the application for nrf5340dk_nrf5340_cpuapp
14*****************************************************
15
16.. zephyr-app-commands::
17 :zephyr-app: samples/subsys/ipc/ipc_service/static_vrings
18 :board: nrf5340dk_nrf5340_cpuapp
19 :goals: debug
20
21Open a serial terminal (minicom, putty, etc.) and connect the board with the
22following settings:
23
24- Speed: 115200
25- Data: 8 bits
26- Parity: None
27- Stop bits: 1
28
29Reset the board and the following message will appear on the corresponding
30serial port, one is host another is remote:
31
32.. code-block:: console
33
34 *** Booting Zephyr OS build zephyr-v3.1.0-2383-g147aee22f273 ***
35 IPC-service HOST [INST 0 - ENDP A] demo started
36 IPC-service HOST [INST 0 - ENDP B] demo started
37 IPC-service HOST [INST 1] demo started
38 HOST [1]: 1
39 HOST [1]: 3
40 HOST [1]: 5
41 HOST [1]: 7
42 HOST [1]: 9
43 ...
44
45
46.. code-block:: console
47
48 *** Booting Zephyr OS build zephyr-v3.1.0-2383-g147aee22f273 ***
49 IPC-service REMOTE [INST 0 - ENDP A] demo started
50 IPC-service REMOTE [INST 0 - ENDP B] demo started
51 IPC-service REMOTE [INST 1] demo started
52 REMOTE [1]: 0
53 REMOTE [1]: 2
54 REMOTE [1]: 4
55 REMOTE [1]: 6
56 REMOTE [1]: 8
57 ...
58