zephyr/samples/subsys/ipc/ipm_mcux
Kumar Gala ae197ed395 samples: ipc: ipm_mcux: Add testing harness
Add console testing harness for expected output.  This allows us
to validate that the test is running properly on hardware.

We expect output of the form:

Hello World from MASTER! ARM
Received: 1
Received: 2
Received: 3
...
Received: 20
Received: 21
Received: 22
...

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-09-18 20:20:07 -04:00
..
remote cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
src cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt
README.rst
prj.conf
sample.yaml samples: ipc: ipm_mcux: Add testing harness 2019-09-18 20:20:07 -04:00

README.rst

.. _ipm-mcux-sample:

Sample mailbox application
##########################

Overview
********

The :ref:`lpcxpresso54114` board has two core processors (Cortex-M4F
and Cortex-M0+). This sample application uses a mailbox to send messages
from one processor core to the other.

Requirements
************

- :ref:`lpcxpresso54114` board

Building and Running
********************

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/ipc/ipm_mcux
   :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-764-g4e3007a *****
   Hello World from MASTER! arm
   Received: 1
   ...
   Received: 99