zephyr/samples/drivers/ipm/ipm_mcux
Grzegorz Swiderski 6640c04df6 sysbuild: Remove IMAGES variable
This variable was originally provided for two indended purposes:

  * Let users manually add a new image in a desired order in the list.
  * Let users set build-only images, which are excluded from the list.

Given the recent additions of the `sysbuild_add_dependencies()` function
and the `BUILD_ONLY` parameter, `IMAGES` should be considered obsolete.

Furthermore, the list of images added to sysbuild should be updated
automatically when calling `ExternalZephyrProject_Add()`. This is now
possible by using a GLOBAL property internal to sysbuild.

With that, the `IMAGES` variable can be removed. Its existing usage for
image ordering is replaced with `sysbuild_add_dependencies()` treewide.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2023-09-05 15:27:04 +02:00
..
boards samples: drivers: ipm: update to use sysbuild 2022-11-15 14:46:02 +01:00
remote samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
src samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
CMakeLists.txt samples: drivers: ipm: update to use sysbuild 2022-11-15 14:46:02 +01:00
Kconfig samples: drivers: ipm: update to use sysbuild 2022-11-15 14:46:02 +01:00
Kconfig.sysbuild samples: drivers: ipm: update to use sysbuild 2022-11-15 14:46:02 +01:00
prj.conf samples: drivers: ipm: update to use sysbuild 2022-11-15 14:46:02 +01:00
README.rst
sample.yaml samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
sysbuild.cmake sysbuild: Remove IMAGES variable 2023-09-05 15:27:04 +02:00

.. _ipm-mcux-sample:

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

Overview
********

Some NXP microcontrollers from LPC family are dual-core, this
sample application uses a mailbox to send messages from one
processor core to the other.

This sample applies to the following boards:
 -  :ref:`lpcxpresso54114`, two core processors (Cortex-M4F and Cortex-M0+)
 -  :ref:`lpcxpresso55s69`, two core processors (dual Cortex-M33)

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

- :ref:`lpcxpresso54114` board
- :ref:`lpcxpresso55s69` board

Building the application for lpcxpresso54114_m4
***********************************************

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/ipm/ipm_mcux
   :board: lpcxpresso54114_m4
   :goals: debug


Building the application for lpcxpresso55s69_cpu0
*************************************************

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/ipm/ipm_mcux
   :board: lpcxpresso55s69_cpu0
   :goals: debug

Running
*******
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