Skip to content

Commit dd8260c

Browse files
theotherjimmymbolivar-nordic
authored andcommitted
samples: psa-firmware: Correct readme instructions
Prior instructions were incomplete, included extra, unneeded ways to build the app. This should simplify the instructions. Signed-off-by: Jimmy Brisson <[email protected]>
1 parent 0dcd6bd commit dd8260c

File tree

1 file changed

+14
-52
lines changed

1 file changed

+14
-52
lines changed

samples/tfm_integration/psa_firmware/README.rst

Lines changed: 14 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -49,35 +49,15 @@ On MPS3 AN547:
4949
===============
5050

5151
1. Build Zephyr with a non-secure configuration
52-
(``-DBOARD=mps2_an521_ns``).
53-
52+
(``-DBOARD=mps3_an547_ns``).
5453
Using ``west``
5554

56-
.. code-block:: bash
57-
58-
cd <ZEPHYR_ROOT>
59-
west build -p -b mps3_an547_ns samples/tfm_integration/psa_firmware
60-
61-
62-
Using ``cmake`` and ``ninja``
63-
64-
.. code-block:: bash
65-
66-
cd <ZEPHYR_ROOT>/samples/tfm_integration/psa_firmware/
67-
rm -rf build
68-
mkdir build && cd build
69-
cmake -GNinja -DBOARD=mps2_an521_ns ..
70-
ninja
71-
72-
Using ``cmake`` and ``make``
73-
74-
.. code-block:: bash
75-
76-
cd <ZEPHYR_ROOT>/samples/tfm_integration/psa_firmware/
77-
rm -rf build
78-
mkdir build && cd build
79-
cmake -DBOARD=mps3_an547_ns ..
80-
make
55+
.. zephyr-app-commands::
56+
:zephyr-app: samples/tfm_integration/psa_firmware
57+
:host-os: unix
58+
:board: mps3_an547_ns
59+
:goals: run
60+
:compact:
8161

8262
2. Copy application binary files (mcuboot.bin and tfm_sign.bin) to
8363
``<MPS3 device name>/SOFTWARE/``.
@@ -106,32 +86,14 @@ On QEMU:
10686
Build Zephyr with a non-secure configuration (``-DBOARD=mps3_an547_ns``)
10787
and run it in qemu via the ``run`` command.
10888

109-
Using ``west``
110-
111-
.. code-block:: bash
112-
113-
cd <ZEPHYR_ROOT>
114-
west build -p -b mps3_an547_ns samples/tfm_integration/psa_firmware -t run
115-
116-
Using ``cmake`` and ``ninja``
117-
118-
.. code-block:: bash
119-
120-
cd <ZEPHYR_ROOT>/samples/tfm_integration/psa_firmware/
121-
rm -rf build
122-
mkdir build && cd build
123-
cmake -GNinja -DBOARD=mps3_an547_ns ..
124-
ninja run
125-
126-
Using ``cmake`` and ``make``
127-
128-
.. code-block:: bash
89+
Using ``west``
12990

130-
cd <ZEPHYR_ROOT>/samples/tfm_integration/psa_firmware/
131-
rm -rf build
132-
mkdir build && cd build
133-
cmake -DBOARD=mps3_an547_ns ..
134-
make run
91+
.. zephyr-app-commands::
92+
:zephyr-app: samples/tfm_integration/psa_firmware
93+
:host-os: unix
94+
:board: mps3_an547_ns
95+
:goals: run
96+
:compact:
13597

13698
On LPCxpresso55S69:
13799
======================

0 commit comments

Comments
 (0)