Kevin Peng | e1c99bb | 2020-06-05 13:21:52 +0800 | [diff] [blame] | 1 | ######################## |
| 2 | Trusted Firmware-M Tests |
| 3 | ######################## |
Kevin Peng | 8a711be | 2020-07-24 11:13:48 +0800 | [diff] [blame] | 4 | The Trusted Firmware-M(TF-M) Tests repo is meant to hold various tests for the |
Kevin Peng | e1c99bb | 2020-06-05 13:21:52 +0800 | [diff] [blame] | 5 | `Trusted Firmware-M`_. |
David Vincze | 01c9a04 | 2024-10-31 12:54:44 +0000 | [diff] [blame] | 6 | The TF-M tests mainly focus on functionalities of various TF-M components such |
Kevin Peng | a72eaca | 2023-03-02 09:57:08 +0800 | [diff] [blame] | 7 | as the TF-M SPM and various Secure Partitions. |
Kevin Peng | 8a711be | 2020-07-24 11:13:48 +0800 | [diff] [blame] | 8 | |
| 9 | There is also the `psa-arch-tests`_ suite which mainly focuses on the |
Kevin Peng | a72eaca | 2023-03-02 09:57:08 +0800 | [diff] [blame] | 10 | implementation compliance of the Platform Security Architecture (PSA). |
Kevin Peng | 8a711be | 2020-07-24 11:13:48 +0800 | [diff] [blame] | 11 | |
| 12 | **************** |
| 13 | Folder Structure |
| 14 | **************** |
David Hu | 69fbb23 | 2023-11-22 16:59:54 +0800 | [diff] [blame] | 15 | - app_broker - Common application code that executes the testing, included by the TF-M tests and |
| 16 | the `psa-arch-tests`_. |
| 17 | - cmake - Common CMake utility scripts. |
Jianliang Shen | 5f7b1b7 | 2022-05-03 19:01:27 +0800 | [diff] [blame] | 18 | - docs - The documents about test developments. |
David Vincze | 01c9a04 | 2024-10-31 12:54:44 +0000 | [diff] [blame] | 19 | - erpc - eRPC test framework. Can be used to trigger tests at PSA Developer API |
| 20 | level with test code running on a remote host system. |
David Hu | 69fbb23 | 2023-11-22 16:59:54 +0800 | [diff] [blame] | 21 | - lib - TF-M libraries and 3rd-party libraries. May contain either imported source codes or CMake |
| 22 | files to fetch the projects. |
| 23 | - tests_psa_arch - PSA Arch tests integration with TF-M. |
| 24 | - tests_reg - TF-M regression test codes including test framework, test suites and test services. |
Kevin Peng | 8a711be | 2020-07-24 11:13:48 +0800 | [diff] [blame] | 25 | |
Kevin Peng | a72eaca | 2023-03-02 09:57:08 +0800 | [diff] [blame] | 26 | ####### |
| 27 | License |
| 28 | ####### |
| 29 | The software is provided under a BSD-3-Clause :doc:`License </license>`. |
| 30 | Contributions to this project are accepted under the same license with developer sign-off as |
| 31 | described in the |
| 32 | `TF-M Contributing Guidelines <https://tf-m-user-guide.trustedfirmware.org/contributing/contributing_process.html>`__ |
| 33 | |
| 34 | This project contains code or pre-built binaries from other projects as listed below. |
| 35 | The code from external projects is limited to ``CMSIS`` and ``lib`` folders. |
| 36 | The original license texts are included in those folders. |
| 37 | |
| 38 | - ``CMSIS`` - `Apache License <http://www.apache.org/licenses/>`__ Version 2.0 license |
| 39 | - The ``lib/ext`` folder may contain 3rd party projects and files with diverse licenses. |
| 40 | Here are some that are different from the BSD-3-Clause and may be a part of the runtime image. |
| 41 | The source code for these projects is fetched from upstream at build time only. |
| 42 | |
| 43 | - ``erpc`` - `Modified BSD-3-Clause license <https://github.com/EmbeddedRPC/erpc/blob/develop/LICENSE>`__ |
Kevin Peng | e1c99bb | 2020-06-05 13:21:52 +0800 | [diff] [blame] | 44 | |
| 45 | #################### |
| 46 | Feedback and support |
| 47 | #################### |
| 48 | Feedback can be submitted via email to |
| 49 | `TF-M mailing list <tf-m@lists.trustedfirmware.org>`__. |
| 50 | |
| 51 | .. _Trusted Firmware-M: https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/ |
Kevin Peng | 8a711be | 2020-07-24 11:13:48 +0800 | [diff] [blame] | 52 | .. _psa-arch-tests: https://github.com/ARM-software/psa-arch-tests |
Kevin Peng | e1c99bb | 2020-06-05 13:21:52 +0800 | [diff] [blame] | 53 | |
David Vincze | 01c9a04 | 2024-10-31 12:54:44 +0000 | [diff] [blame] | 54 | -------------- |
| 55 | |
| 56 | *Copyright (c) 2020-2024, Arm Limited. All rights reserved.* |