Boris Deletic | 08f4896 | 2020-10-28 12:42:58 +0000 | [diff] [blame] | 1 | ############################### |
| 2 | TF-M Example Partition - Readme |
| 3 | ############################### |
| 4 | The TF-M example partition is a simple secure partition implementation provided |
| 5 | to aid development of new secure partitions. It implements one RoT Service and |
| 6 | one interrupt handler. |
| 7 | |
| 8 | ******************************** |
| 9 | How 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.* |