@ -49,7 +49,7 @@ These steps will produce an HTML coverage report for a single application.
@@ -49,7 +49,7 @@ These steps will produce an HTML coverage report for a single application.
@ -27,7 +27,7 @@ It can be built and executed on Musca B1 CPU 0 as follows:
@@ -27,7 +27,7 @@ It can be built and executed on Musca B1 CPU 0 as follows:
..zephyr-app-commands::
:zephyr-app:samples/drivers/ipm/ipm_mhu_dual_core
:board:v2m_musca_b1
:board:v2m_musca_b1/musca_b1
:goals:run
:compact:
@ -36,7 +36,7 @@ It can be built and executed on Musca B1 CPU 1 as follows:
@@ -36,7 +36,7 @@ It can be built and executed on Musca B1 CPU 1 as follows:
@ -33,21 +33,21 @@ executed on MPS2+ AN521 and ST Nucleo L552ZE Q.
@@ -33,21 +33,21 @@ executed on MPS2+ AN521 and ST Nucleo L552ZE Q.
On MPS2+ AN521:
===============
#. Build Zephyr with a non-secure configuration (``-DBOARD=mps2_an521_ns``).
#. Build Zephyr with a non-secure configuration (``-DBOARD=mps2/an521/cpu0/ns``).
..code-block:: bash
cd $ZEPHYR_ROOT/samples/tfm_integration/tfm_ipc/
mkdir build
cd build
cmake -DBOARD=mps2_an521_ns ..
cmake -DBOARD=mps2/an521/cpu0/ns ..
make
You can also use west as follows:
..code-block:: bash
$ west build -p -b mps2_an521_ns zephyr/samples/tfm_integration/tfm_ipc
$ west build -p -b mps2/an521/cpu0/ns zephyr/samples/tfm_integration/tfm_ipc
#. Copy application binary files (mcuboot.bin and tfm_sign.bin) to ``<MPS2 device name>/SOFTWARE/``.
@ -82,7 +82,7 @@ folder to update the ``-DGNUARM_PATH=/opt/toolchain/arm-none-eabi`` path.
@@ -82,7 +82,7 @@ folder to update the ``-DGNUARM_PATH=/opt/toolchain/arm-none-eabi`` path.
On QEMU:
========
The MPS2+ AN521 target (``mps2_an521_ns``), which is based on a
The MPS2+ AN521 target (``mps2/an521/cpu0/ns``), which is based on a
dual core ARM Cortex-M33 setup, also allows you to run TF-M tests using QEMU if
you don't have access to a supported ARMv8-M development board.
@ -99,7 +99,7 @@ ninja or make, adding the ``run`` commands:
@@ -99,7 +99,7 @@ ninja or make, adding the ``run`` commands:
..code-block:: bash
$ west build -b mps2_an521_ns zephyr/samples/tfm_integration/tfm_ipc -t run
$ west build -b mps2/an521/cpu0/ns zephyr/samples/tfm_integration/tfm_ipc -t run
@ -32,7 +32,7 @@ You can indicate the desired test suite at build time via a config flag:
@@ -32,7 +32,7 @@ You can indicate the desired test suite at build time via a config flag:
..code-block:: bash
$ west build samples/tfm_integration/tfm_psa_test/ \
-p -b mps2_an521_ns -t run -- \
-p -b mps2/an521/cpu0/ns -t run -- \
-DCONFIG_TFM_PSA_TEST_STORAGE=y
Note that not all test suites are valid on all boards.
@ -50,7 +50,7 @@ Following is an example based on ``west build``
@@ -50,7 +50,7 @@ Following is an example based on ``west build``
..code-block:: bash
$ west build samples/tfm_integration/tfm_psa_test/ -p -b mps2_an521_ns -t run -- -DCONFIG_TFM_PSA_TEST_STORAGE=y
$ west build samples/tfm_integration/tfm_psa_test/ -p -b mps2/an521/cpu0/ns -t run -- -DCONFIG_TFM_PSA_TEST_STORAGE=y