Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
boards/ | 18-Mar-2025 | - | 492 | 419 | ||
remote/ | 18-Mar-2025 | - | 864 | 681 | ||
src/ | 18-Mar-2025 | - | 286 | 196 | ||
CMakeLists.txt | D | 18-Mar-2025 | 968 | 36 | 27 | |
Kconfig | D | 18-Mar-2025 | 295 | 12 | 9 | |
Kconfig.sysbuild | D | 18-Mar-2025 | 728 | 18 | 15 | |
README.rst | D | 18-Mar-2025 | 3 KiB | 105 | 81 | |
prj.conf | D | 18-Mar-2025 | 173 | 12 | 8 | |
sample.yaml | D | 18-Mar-2025 | 776 | 22 | 21 | |
sysbuild.cmake | D | 18-Mar-2025 | 875 | 27 | 21 |
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 59Building the application for frdm_mcxn947/mcxn947/cpu0 60************************************************************ 61 62.. zephyr-app-commands:: 63 :zephyr-app: samples/subsys/ipc/ipc_service/static_vrings 64 :board: frdm_mcxn947/mcxn947/cpu0 65 :goals: debug 66 :west-args: --sysbuild 67 68Open a serial terminal (minicom, putty, etc.) and connect the board with the 69following settings: 70 71- Speed: 115200 72- Data: 8 bits 73- Parity: None 74- Stop bits: 1 75 76Reset the board and the following message will appear on the corresponding 77serial port, one is host another is remote: 78 79.. code-block:: console 80 81 *** Booting Zephyr OS build zephyr-v3.1.0-2383-g147aee22f273 *** 82 IPC-service HOST [INST 0 - ENDP A] demo started 83 IPC-service HOST [INST 0 - ENDP B] demo started 84 IPC-service HOST [INST 1] demo started 85 HOST [1]: 1 86 HOST [1]: 3 87 HOST [1]: 5 88 HOST [1]: 7 89 HOST [1]: 9 90 ... 91 92 93.. code-block:: console 94 95 *** Booting Zephyr OS build zephyr-v3.1.0-2383-g147aee22f273 *** 96 IPC-service REMOTE [INST 0 - ENDP A] demo started 97 IPC-service REMOTE [INST 0 - ENDP B] demo started 98 IPC-service REMOTE [INST 1] demo started 99 REMOTE [1]: 0 100 REMOTE [1]: 2 101 REMOTE [1]: 4 102 REMOTE [1]: 6 103 REMOTE [1]: 8 104 ... 105