blob: 47aca5c820e12ab391812caa06cd653751d44ea0 [file] [log] [blame]
Boris Deletic08f48962020-10-28 12:42:58 +00001###############################
2TF-M Example Partition - Readme
3###############################
4The TF-M example partition is a simple secure partition implementation provided
5to aid development of new secure partitions. It implements one RoT Service and
6one interrupt handler.
7
8********************************
9How to run the example partition
10********************************
11#. Copy the ``example_partition`` directory to the ``secure_fw/partitions``
12 directory of the TF-M repo.
13#. Add the following entry to ``tools/tfm_manifest_list.yaml``::
14
15 {
16 "name": "TF-M Example Partition",
17 "short_name": "TFM_SP_EXAMPLE",
18 "manifest": "secure_fw/partitions/example_partition/tfm_example_partition.yaml",
19 "tfm_partition_ipc": true,
20 "conditional": "TFM_PARTITION_EXAMPLE",
21 "version_major": 0,
22 "version_minor": 1,
23 "pid": 270,
24 "linker_pattern": {
25 "library_list": [
26 "*tfm_partition_example.*"
27 ]
28 }
29 }
30
31#. Build TF-M in the usual way, but provide ``-DTFM_PARTITION_EXAMPLE=ON`` as a
32 parameter to the CMake command.
33
34--------------
35
36*Copyright (c) 2020, Arm Limited. All rights reserved.*