zephyr/samples/subsys/ipc/openamp
Kumar Gala e2b62b411b samples: openamp: Update sample to OpenAMP v2018.10 release
The v2018.10 release of OpenAMP reworks the API set and splits the
remoteproc vs rpmsg interfaces so one can use rpmsg without remoteproc.

This helps drastically reduce the code footprint utilized by OpenAMP.
The remote see around 4k reduction in code size.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-01-30 15:55:47 -06:00
..
remote samples: openamp: Update sample to OpenAMP v2018.10 release 2019-01-30 15:55:47 -06:00
src samples: openamp: Update sample to OpenAMP v2018.10 release 2019-01-30 15:55:47 -06:00
CMakeLists.txt samples: openamp: Update sample to OpenAMP v2018.10 release 2019-01-30 15:55:47 -06:00
common.h samples: openamp: Update sample to OpenAMP v2018.10 release 2019-01-30 15:55:47 -06:00
prj.conf ext: open-amp: Change build integration so its not recursive 2018-05-24 09:18:47 -05:00
README.rst samples: openamp: Update docs 2018-05-28 10:22:34 -04:00
sample.yaml tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00

.. _openAMP_sample:

OpenAMP Sample Application
##########################

Overview
********

This application demonstrates how to use OpenAMP with Zephyr. It is designed to
demonstrate how to integrate OpenAMP with Zephyr both from a build perspective
and code.  Currently this integration is specific to the LPC54114 SoC.

Building the application
*************************

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/ipc/openamp
   :board: lpcxpresso54114_m4
   :goals: debug

Open a serial terminal (minicom, putty, etc.) and connect the board with the
following settings:

- Speed: 115200
- Data: 8 bits
- Parity: None
- Stop bits: 1

Reset the board and the following message will appear on the corresponding
serial port:

.. code-block:: console

   ***** Booting Zephyr OS v1.11.0-1377-g580b9add47 *****
   Starting application thread!

   OpenAMP demo started
   Primary core received a message: 1
   Primary core received a message: 3
   Primary core received a message: 5
   ...
   Primary core received a message: 101
   OpenAMP demo ended.