Skip to content

Commit 2914ad4

Browse files
Karl Zhanggalak
Karl Zhang
authored andcommitted
samples: openamp: Keep document up to date
Update serial output for both master and remote. Signed-off-by: Karl Zhang <[email protected]>
1 parent 742f55a commit 2914ad4

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

samples/subsys/ipc/openamp/README.rst

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Overview
88

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

13-
Building the application
14-
*************************
13+
Building the application for lpcxpresso54114_m4
14+
***********************************************
1515

1616
.. zephyr-app-commands::
1717
:zephyr-app: samples/subsys/ipc/openamp
@@ -27,17 +27,31 @@ following settings:
2727
- Stop bits: 1
2828

2929
Reset the board and the following message will appear on the corresponding
30-
serial port:
30+
serial port, one is master another is remote:
3131

3232
.. code-block:: console
3333
34-
***** Booting Zephyr OS v1.11.0-1377-g580b9add47 *****
34+
**** Booting Zephyr OS build zephyr-v1.14.0-2064-g888fc98fddaa ****
3535
Starting application thread!
3636
37-
OpenAMP demo started
38-
Primary core received a message: 1
39-
Primary core received a message: 3
40-
Primary core received a message: 5
37+
OpenAMP[master] demo started
38+
Master core received a message: 1
39+
Master core received a message: 3
40+
Master core received a message: 5
4141
...
42-
Primary core received a message: 101
42+
Master core received a message: 99
43+
OpenAMP demo ended.
44+
45+
46+
.. code-block:: console
47+
48+
**** Booting Zephyr OS build zephyr-v1.14.0-2064-g888fc98fddaa ****
49+
Starting application thread!
50+
51+
OpenAMP[remote] demo started
52+
Remote core received a message: 0
53+
Remote core received a message: 2
54+
Remote core received a message: 4
55+
...
56+
Remote core received a message: 98
4357
OpenAMP demo ended.

0 commit comments

Comments
 (0)