Sample mailbox application


The NXP 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.


Building and Running

# On Linux/macOS
cd $ZEPHYR_BASE/samples/subsys/ipc/ipm_mcux
mkdir build && cd build

# On Windows
cd %ZEPHYR_BASE%\samples\subsys\ipc\ipm_mcux
mkdir build & cd build

# Use cmake to configure a Ninja-based build system:
cmake -GNinja -DBOARD=lpcxpresso54114_m4 ..

# Now run ninja on the generated build system:
ninja 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:

***** Booting Zephyr OS v1.11.0-764-g4e3007a *****
Hello World from MASTER! arm
Received: 1
Received: 99