Skip to content

zephyrproject-rtos/tf-m-tests

Repository files navigation

Trusted Firmware-M Tests

The Trusted Firmware-M(TF-M) Tests repo is meant to hold various tests for the Trusted Firmware-M. The TF-M tests mainly focus on functionalities of various TF-M componentes such as the TF-M SPM and various Secure Partitions.

There is also the psa-arch-tests suite which mainly focuses on the implementation compliance of the Platform Security Architecture (PSA).

Folder Structure

  • app_broker - Common application code that executes the testing, included by the TF-M tests and the psa-arch-tests.
  • cmake - Common CMake utility scripts.
  • docs - The documents about test developments.
  • erpc - eRPC test framework.
  • lib - TF-M libraries and 3rd-party libraries. May contain either imported source codes or CMake files to fetch the projects.
  • tests_psa_arch - PSA Arch tests integration with TF-M.
  • tests_reg - TF-M regression test codes including test framework, test suites and test services.

License

The software is provided under a BSD-3-Clause :doc:`License </license>`. Contributions to this project are accepted under the same license with developer sign-off as described in the TF-M Contributing Guidelines

This project contains code or pre-built binaries from other projects as listed below. The code from external projects is limited to CMSIS and lib folders. The original license texts are included in those folders.

  • CMSIS - Apache License Version 2.0 license
  • The lib/ext folder may contain 3rd party projects and files with diverse licenses. Here are some that are different from the BSD-3-Clause and may be a part of the runtime image. The source code for these projects is fetched from upstream at build time only.

Feedback and support

Feedback can be submitted via email to TF-M mailing list.

Copyright (c) 2020-2023, Arm Limited. All rights reserved.