Galanakis, Minos | 41f8597 | 2019-09-30 15:56:40 +0100 | [diff] [blame] | 1 | ################## |
| 2 | Build instructions |
| 3 | ################## |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 4 | Please make sure you have all required software installed as explained in the |
| 5 | :doc:`software requirements <tfm_sw_requirement>`. |
| 6 | |
Galanakis, Minos | 757139a | 2019-11-11 15:00:11 +0000 | [diff] [blame] | 7 | The external dependecies are briefly listed in the |
Minos Galanakis | ac6b06c | 2020-03-19 12:57:02 +0000 | [diff] [blame] | 8 | :ref:`docs/user_guides/tfm_sw_requirement:External dependencies` section. |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 9 | |
Galanakis, Minos | 757139a | 2019-11-11 15:00:11 +0000 | [diff] [blame] | 10 | The configuration-table |
| 11 | :ref:`docs/user_guides/tfm_build_instruction:Configuring the build` section |
| 12 | explains all the supported build parameters: |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 13 | |
| 14 | **************** |
| 15 | TF-M build steps |
| 16 | **************** |
| 17 | TF-M uses `cmake <https://cmake.org/overview/>`__ to provide an out-of-source |
| 18 | build environment. The instructions are below. |
| 19 | |
| 20 | .. Note:: |
| 21 | |
| 22 | It is recommended to build each different build configurations in separate |
| 23 | directories. |
| 24 | |
| 25 | Getting the source-code |
| 26 | ======================= |
| 27 | .. code-block:: bash |
| 28 | |
| 29 | cd <TF-M base folder> |
Minos Galanakis | 0f39fa5 | 2020-06-08 16:53:53 +0100 | [diff] [blame] | 30 | git clone https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git |
Antonio de Angelis | 04debbd | 2019-10-14 12:12:52 +0100 | [diff] [blame] | 31 | git clone https://github.com/ARMmbed/mbed-crypto.git -b mbedcrypto-3.0.1 |
Antonio de Angelis | 70ae80f | 2019-02-26 14:57:40 +0000 | [diff] [blame] | 32 | git clone https://github.com/ARM-software/CMSIS_5.git -b 5.5.0 |
| 33 | |
Minos Galanakis | d09df4d | 2020-03-23 10:25:20 +0000 | [diff] [blame] | 34 | # If CMSIS was cloned before the git-lfs dependency was installed, |
| 35 | # use the following command to download the binaries. |
| 36 | cd CMSIS_5 && git lfs pull |
| 37 | |
Antonio de Angelis | 70ae80f | 2019-02-26 14:57:40 +0000 | [diff] [blame] | 38 | .. Note:: |
| 39 | `CMSIS_5` now uses `git-lfs` for storing large size binaries so the cloning |
| 40 | process has changed from previous releases. Please refer to the `CMSIS_5` |
| 41 | documentation for more details. |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 42 | |
Minos Galanakis | ac6b06c | 2020-03-19 12:57:02 +0000 | [diff] [blame] | 43 | .. Note:: |
| 44 | For building with Armclang compiler version 6.10.0, please follow the note |
| 45 | in :ref:`docs/user_guides/tfm_sw_requirement:External dependencies` section. |
| 46 | |
TTornblom | b9e5ed0 | 2020-02-13 16:53:15 +0100 | [diff] [blame] | 47 | .. Note:: |
| 48 | For building with the IAR toolchain, please see the notes in |
| 49 | :doc:`software requirements <tfm_build_instruction_iar>` |
| 50 | |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 51 | Build steps for the AN521 target platform: |
| 52 | ========================================== |
| 53 | .. code-block:: bash |
| 54 | |
| 55 | cd <TF-M base folder> |
| 56 | cd trusted-firmware-m |
| 57 | mkdir cmake_build |
| 58 | cd cmake_build |
| 59 | cmake ../ -G"Unix Makefiles" -DTARGET_PLATFORM=AN521 -DCOMPILER=ARMCLANG |
| 60 | cmake --build ./ -- install |
| 61 | |
| 62 | Regression Tests for the AN521 target platform |
| 63 | ============================================== |
| 64 | *TF-M build regression tests on Linux* |
| 65 | |
| 66 | .. code-block:: bash |
| 67 | |
| 68 | cd <TF-M base folder> |
| 69 | cd trusted-firmware-m |
| 70 | mkdir cmake_test |
| 71 | cd cmake_test |
Ken Liu | e40f9a2 | 2019-06-03 16:42:47 +0800 | [diff] [blame] | 72 | cmake -G"Unix Makefiles" -DPROJ_CONFIG=`readlink -f ../configs/ConfigRegression.cmake` -DTARGET_PLATFORM=AN521 -DCOMPILER=ARMCLANG ../ |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 73 | cmake --build ./ -- install |
| 74 | |
| 75 | *TF-M build regression tests on Windows* |
| 76 | |
| 77 | .. code-block:: bash |
| 78 | |
| 79 | cd <TF-M base folder> |
| 80 | cd trusted-firmware-m |
| 81 | mkdir cmake_test |
| 82 | cd cmake_test |
Ken Liu | e40f9a2 | 2019-06-03 16:42:47 +0800 | [diff] [blame] | 83 | cmake -G"Unix Makefiles" -DPROJ_CONFIG=`cygpath -am ../configs/ConfigRegression.cmake` -DTARGET_PLATFORM=AN521 -DCOMPILER=ARMCLANG ../ |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 84 | cmake --build ./ -- install |
| 85 | |
Jaykumar Pitambarbhai Patel | 6891b8b | 2020-01-23 14:32:20 +0530 | [diff] [blame] | 86 | Build for PSA Developer API compliance tests |
| 87 | ============================================ |
| 88 | The build system provides the support for linking with prebuilt PSA Developer |
| 89 | API compliance NS test libraries when using the ``ConfigPsaApiTest.cmake``, |
Jamie Fox | 6b6a19b | 2019-09-30 16:54:17 +0100 | [diff] [blame] | 90 | ``ConfigPsaApiTestIPC.cmake`` or ``ConfigPsaApiTestIPCTfmLevel2.cmake`` config |
| 91 | file. The build system assumes that the PSA API compliance test suite is checked |
| 92 | out at the same level of the TF-M root folder and the default name for the build |
| 93 | folder has been used when compiling the PSA API compliance tests. Each set of |
Kevin Peng | c6d7450 | 2020-03-04 16:55:37 +0800 | [diff] [blame] | 94 | tests for the Internal Trusted Storage, Protected Storage, Crypto and Attestation |
Jamie Fox | 6b6a19b | 2019-09-30 16:54:17 +0100 | [diff] [blame] | 95 | services needs to be enabled at the build configuration step by defining:: |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 96 | |
Jamie Fox | 6b6a19b | 2019-09-30 16:54:17 +0100 | [diff] [blame] | 97 | -DPSA_API_TEST_INTERNAL_TRUSTED_STORAGE=ON |
Karl Zhang | 1895a2c | 2020-03-08 18:27:32 +0800 | [diff] [blame] | 98 | -DPSA_API_TEST_PROTECTED_STORAGE=ON |
Vinay Kumar Kotegowder | 7564106 | 2020-04-24 16:44:12 +0530 | [diff] [blame] | 99 | -DPSA_API_TEST_STORAGE=ON |
Jamie Fox | 6b6a19b | 2019-09-30 16:54:17 +0100 | [diff] [blame] | 100 | -DPSA_API_TEST_CRYPTO=ON |
Karl Zhang | 1895a2c | 2020-03-08 18:27:32 +0800 | [diff] [blame] | 101 | -DPSA_API_TEST_INITIAL_ATTESTATION=ON |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 102 | |
| 103 | respectively for the corresponding service. For example, to enable the PSA API |
| 104 | tests for the Crypto service only: |
| 105 | |
| 106 | .. code-block:: bash |
| 107 | |
| 108 | cd <TF-M base folder> |
| 109 | cd trusted-firmware-m |
| 110 | mkdir cmake_psa_test |
| 111 | cd cmake_psa_test |
Antonio de Angelis | 0169b9f | 2019-06-28 11:37:24 +0100 | [diff] [blame] | 112 | cmake -G"Unix Makefiles" -DPROJ_CONFIG=`readlink -f ../configs/ConfigPsaApiTest.cmake` -DPSA_API_TEST_CRYPTO=ON -DTARGET_PLATFORM=AN521 -DCOMPILER=ARMCLANG ../ |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 113 | cmake --build ./ -- install |
| 114 | |
Jaykumar Pitambarbhai Patel | 6891b8b | 2020-01-23 14:32:20 +0530 | [diff] [blame] | 115 | Build for PSA FF (IPC) compliance tests |
| 116 | ======================================= |
| 117 | |
| 118 | The build system assumes that the PSA FF compliance test suite is checked out |
| 119 | at the same level of the TF-M root folder and the default name for the build |
| 120 | folder has been used when compiling the PSA FF compliance tests. |
| 121 | |
| 122 | Parse the PSA FF compliance tests partition manifests using a tool script named |
| 123 | as ``tfm_parse_manifest_list.py``. This tool updates the TFM partitions data |
| 124 | structure with PSA test suite partitions detail and creates the manifest output |
| 125 | files that are required for the PSA test suite build. Using these manifest |
| 126 | output files, build the PSA FF compliance tests as per the instructions |
| 127 | given in the PSA FF compliance tests README. |
| 128 | |
| 129 | .. code-block:: bash |
Minos Galanakis | fc6804e | 2020-03-10 11:03:34 +0000 | [diff] [blame] | 130 | |
Jaykumar Pitambarbhai Patel | 6891b8b | 2020-01-23 14:32:20 +0530 | [diff] [blame] | 131 | cd <TF-M base folder> |
| 132 | cd trusted-firmware-m |
Shawn Shan | adfb80f | 2020-03-11 10:25:21 +0800 | [diff] [blame] | 133 | python tools/tfm_parse_manifest_list.py -m tools/tfm_psa_ff_test_manifest_list.yaml append |
Jaykumar Pitambarbhai Patel | 6891b8b | 2020-01-23 14:32:20 +0530 | [diff] [blame] | 134 | |
| 135 | The build system provides the support for linking with prebuilt PSA FF |
| 136 | compliance NS and S test libraries when using the ``ConfigPsaApiTestIPC.cmake`` |
| 137 | or ``ConfigPsaApiTestIPCTfmLevel2.cmake`` config file. The PSA FF compliance |
| 138 | tests need to be enabled at the build configuration step by defining:: |
| 139 | |
| 140 | -DPSA_API_TEST_IPC=ON. |
| 141 | |
| 142 | For example, to enable the PSA FF tests for ConfigPsaApiTestIPCTfmLevel2.cmake |
| 143 | config : |
| 144 | |
| 145 | .. code-block:: bash |
| 146 | |
| 147 | cd <TF-M base folder> |
| 148 | cd trusted-firmware-m |
| 149 | mkdir cmake_psa_test |
| 150 | cd cmake_psa_test |
| 151 | cmake -G"Unix Makefiles" -DPROJ_CONFIG=`readlink -f ../configs/ConfigPsaApiTestIPCTfmLevel2.cmake` -DPSA_API_TEST_IPC=ON -DTARGET_PLATFORM=AN521 -DCOMPILER=ARMCLANG ../ |
| 152 | cmake --build ./ -- install |
| 153 | |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 154 | Location of build artifacts |
| 155 | =========================== |
| 156 | The build system defines an API which allow easy usage of build |
| 157 | artifacts. The ``install`` build target copies all files which might be needed |
| 158 | as a dependency by external tools or build systems to the |
| 159 | ``<build_dir>/install/outputs`` |
| 160 | directory, with the following directory hierarchy: |
| 161 | |
| 162 | :: |
| 163 | |
| 164 | <build_dir>/install/outputs/fvp/ |
| 165 | <build_dir>/install/outputs/<target_platform>/ |
| 166 | |
| 167 | There is one folder for FVP testing, with more elaborate naming and |
| 168 | there is an other for testing on target hardware platform (AN521, etc.), where |
| 169 | naming convention is aligned with 8.3 format. The dependency tree of |
| 170 | ``install`` build target ensures a proper update (i.e. build) of all output |
| 171 | files before the actual installation step takes place. As such it is suggested |
| 172 | to use this build target to build TF-M. |
| 173 | |
| 174 | Export dependency files for NS applications |
| 175 | ------------------------------------------- |
| 176 | An NS application requires a number of files to interface with TF-M. |
| 177 | The build system exports these files as part of the ``install`` target and |
| 178 | places them in to a single directory:: |
| 179 | |
| 180 | <build_dir>/install/export/tfm |
| 181 | |
| 182 | Further details on how to integrate a new NS app with TF-M are available in the |
| 183 | :doc:`integration guide <tfm_integration_guide>`. |
| 184 | |
| 185 | Building the documentation |
| 186 | ========================== |
| 187 | Please ensure the dependencies for building the firmware and the |
| 188 | documentation are installed as explained in the |
| 189 | :doc:`software requirements <tfm_sw_requirement>`. |
| 190 | |
| 191 | Building PDF output is optional and can be disabled by removing LaTex from the |
| 192 | PATH. |
| 193 | |
| 194 | .. Note:: |
| 195 | For building the documentation all tools needed to build the firmware must |
| 196 | be available. |
| 197 | |
| 198 | Building the Reference Manual |
| 199 | ----------------------------- |
| 200 | .. code-block:: bash |
| 201 | |
| 202 | cd <TF-M base folder> |
| 203 | mkdir cmake_doc |
| 204 | cd cmake_doc |
| 205 | cmake ../ -G"Unix Makefiles" -DTARGET_PLATFORM=AN521 -DCOMPILER=GNUARM |
| 206 | cmake --build ./ -- install_doc |
| 207 | |
| 208 | The documentation files will be available under the directory:: |
| 209 | |
| 210 | cmake_doc/install/doc/reference_manual |
| 211 | |
| 212 | Building the User Guide |
| 213 | ----------------------- |
| 214 | .. code-block:: bash |
| 215 | |
| 216 | cd <TF-M base folder> |
| 217 | mkdir cmake_doc |
| 218 | cd cmake_doc |
| 219 | cmake ../ -G"Unix Makefiles" -DTARGET_PLATFORM=AN521 -DCOMPILER=ARMCLANG |
| 220 | cmake --build ./ -- install_userguide |
| 221 | |
| 222 | The documentation files will be available under the directory:: |
| 223 | |
| 224 | cmake_doc/install/doc/user_guide |
| 225 | |
Galanakis, Minos | 757139a | 2019-11-11 15:00:11 +0000 | [diff] [blame] | 226 | ********************* |
Galanakis, Minos | 757139a | 2019-11-11 15:00:11 +0000 | [diff] [blame] | 227 | Configuring the build |
| 228 | ********************* |
| 229 | The build configuration for TF-M is provided to the build system using command |
| 230 | line arguments: |
| 231 | |
| 232 | .. list-table:: |
| 233 | :widths: 20 80 |
| 234 | |
| 235 | * - -DPROJ_CONFIG=<file> |
| 236 | - Specifies the way the application is built. |
| 237 | |
| 238 | | <file> is the absolute path to configurations file |
| 239 | named as ``Config<APP_NAME>.cmake``. |
| 240 | | i.e. On Linux: |
| 241 | ``-DPROJ_CONFIG=`readlink -f ../configs/ConfigRegression.cmake``` |
| 242 | |
| 243 | * - -DTARGET_PLATFORM=<target platform name> |
| 244 | - Specifies the target platform. |
| 245 | Supported platforms: |
| 246 | |
| 247 | - Cortex-M33 SSE-200 subsystem for MPS2+ (AN521) |
| 248 | ``-DTARGET_PLATFORM=AN521`` |
| 249 | - Cortex-M23 IoT Kit subsystem for MPS2+ (AN519) |
| 250 | ``-DTARGET_PLATFORM=AN519`` |
Marton Berke | 8aae06f | 2019-11-25 16:46:12 +0100 | [diff] [blame] | 251 | - Arm SSE-123 Example Subsystem for MPS2+ (AN539) |
| 252 | ``-DTARGET_PLATFORM=AN539`` |
Mark Horvath | 9a5a9b9 | 2019-11-29 15:57:55 +0100 | [diff] [blame] | 253 | - Cortex-M55 SSE-300 subsystem for MPS2+ FVP |
| 254 | ``-DTARGET_PLATFORM=FVP_SSE300_MPS2`` |
Galanakis, Minos | 757139a | 2019-11-11 15:00:11 +0000 | [diff] [blame] | 255 | - Musca-A test chip board (Cortex-M33 SSE-200 subsystem) |
| 256 | ``-DTARGET_PLATFORM=MUSCA_A`` |
| 257 | - Musca-B1 test chip board (Cortex-M33 SSE-200 subsystem) |
| 258 | ``-DTARGET_PLATFORM=MUSCA_B1`` |
Marton Berke | 8aae06f | 2019-11-25 16:46:12 +0100 | [diff] [blame] | 259 | - Musca-S1 test chip board (Cortex-M33 SSE-200 subsystem) |
| 260 | ``-DTARGET_PLATFORM=MUSCA_S1`` |
Galanakis, Minos | 757139a | 2019-11-11 15:00:11 +0000 | [diff] [blame] | 261 | - Cortex-M33 SSE-200 subsystem for MPS3 (AN524) |
| 262 | ``-DTARGET_PLATFORM=AN524`` |
Chris Brand | b42fed5 | 2019-12-02 16:10:17 -0800 | [diff] [blame] | 263 | - Cypress CYS0644ABZI-S2D44 board (PSoC64 platform) |
| 264 | ``-DTARGET_PLATFORM=psoc64`` |
Galanakis, Minos | dc6694b | 2020-01-06 13:54:56 +0000 | [diff] [blame] | 265 | See :doc:`Cypress PSoC 64 platform specifics </platform/ext/target/cypress/psoc64/cypress_psoc64_spec>` |
Marton Berke | e980366 | 2019-11-11 14:11:05 +0100 | [diff] [blame] | 266 | - DesignStart FPGA on Cloud: Cortex-M33 based platform (SSE-200_AWS platform) |
| 267 | ``-DTARGET_PLATFORM=SSE-200_AWS`` |
Ludovic Barre | 8a77bdd | 2020-03-26 19:53:07 +0100 | [diff] [blame] | 268 | - DISCO_L562QE board (Cortex-M33 STM32L562) |
| 269 | ``-DTARGET_PLATFORM=STM_DISCO_L562QE`` |
| 270 | See :doc:`STM32L5xx platform specifics </platform/ext/target/stm/stm32l5xx/readme>` |
| 271 | - NUCLEO_L552ZE_Q (Cortex-M33 STM32L552) |
| 272 | ``-DTARGET_PLATFORM=SSTM_NUCLEO_L552ZE_Q`` |
| 273 | See :doc:`STM32L5xx platform specifics </platform/ext/target/stm/stm32l5xx/readme>` |
Galanakis, Minos | 757139a | 2019-11-11 15:00:11 +0000 | [diff] [blame] | 274 | |
| 275 | * - -DCOMPILER=<compiler name> |
| 276 | - Specifies the compiler toolchain |
| 277 | The possible values are: |
| 278 | |
| 279 | - ``ARMCLANG`` |
| 280 | - ``GNUARM`` |
| 281 | * - -DCMAKE_BUILD_TYPE=<build type> |
| 282 | - Configures debugging support. |
| 283 | The possible values are: |
| 284 | |
| 285 | - ``Debug`` |
| 286 | - ``Release`` |
| 287 | - ``Relwithdebinfo`` |
| 288 | - ``Minsizerel`` |
Raef Coles | 1bb168e | 2019-10-17 09:04:55 +0100 | [diff] [blame] | 289 | * - -DMBEDCRYPTO_DEBUG=<ON|OFF> |
Raef Coles | a657a9c | 2019-10-24 14:36:43 +0100 | [diff] [blame] | 290 | - Enables debug symbols for Mbed Crypto library. If a cryptographic |
| 291 | accelerator is enabled then this will also enable debug symbols and |
| 292 | logging for any accelerator libraries. |
Galanakis, Minos | 757139a | 2019-11-11 15:00:11 +0000 | [diff] [blame] | 293 | * - -DBUILD_DWARF_VERSION=<dwarf version> |
| 294 | - Configures DWARF version. |
| 295 | The possible values are: |
| 296 | |
| 297 | - 2 |
| 298 | - 3 |
| 299 | - 4 |
| 300 | |
| 301 | .. Note:: |
| 302 | Follow :doc:`secure boot <./tfm_secure_boot>` to build the binaries with or |
| 303 | without BL2 bootloader. |
| 304 | |
Minos Galanakis | fc6804e | 2020-03-10 11:03:34 +0000 | [diff] [blame] | 305 | ************** |
Kevin Peng | d9d1920 | 2020-01-15 19:34:39 +0800 | [diff] [blame] | 306 | Configurations |
Minos Galanakis | fc6804e | 2020-03-10 11:03:34 +0000 | [diff] [blame] | 307 | ************** |
Kevin Peng | d9d1920 | 2020-01-15 19:34:39 +0800 | [diff] [blame] | 308 | Configurations files under `configs` are TF-M provided configurations for building. |
| 309 | They are used by the `-DPROJ_CONFIG` argument for the build command line. |
| 310 | The following table describes the differences between the configurations: |
| 311 | |
Minos Galanakis | fc6804e | 2020-03-10 11:03:34 +0000 | [diff] [blame] | 312 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 313 | | Configuration | Model [1]_ | TF-M LVL [2]_ | Regression [3]_ | Core Test [4]_ | IPC Test [5]_ | PSA API Test [6]_ | Comment | |
| 314 | +========================+============+===============+=================+================+===============+===================+=========================+ |
| 315 | | Default | Library | 1 | No | No | No | No | TF-M, no tests | |
| 316 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 317 | | Regression | Library | 1 | Yes | Yes | No | No | TF-M & Regression tests | |
| 318 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 319 | | CoreIPC | IPC | 1 | No | No | No | No | TF-M, no tests | |
| 320 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 321 | | CoreIPCTfmLevel2 | IPC | 2 | No | No | No | No | TF-M, no tests | |
| 322 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 323 | | RegressionIPC | IPC | 1 | Yes | Yes | Yes | No | TF-M & Regression tests | |
| 324 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 325 | | RegressionIPCTfmLevel2 | IPC | 2 | Yes | Yes | Yes | No | TF-M & Regression tests | |
| 326 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 327 | | PsaApiTest | Library | 1 | No | No | No | Yes | TF-M & PSA API tests | |
| 328 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 329 | | PsaApiTestIPC | IPC | 1 | No | No | No | Yes | TF-M & PSA API tests | |
| 330 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 331 | | PsaApiTestIPCTfmLevel2 | IPC | 2 | No | No | No | Yes | TF-M & PSA API tests | |
| 332 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
David Hu | c51e7c5 | 2020-06-01 10:45:52 +0800 | [diff] [blame] | 333 | | DefaultProfileS | Library | 1 | No | No | No | No | TF-M Profile Small, | |
David Hu | 2cbf5df | 2020-06-15 10:41:44 +0800 | [diff] [blame^] | 334 | | | | | | | | | no tests [7]_ | |
David Hu | c51e7c5 | 2020-06-01 10:45:52 +0800 | [diff] [blame] | 335 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
| 336 | | RegressionProfileS | Library | 1 | Yes | Yes | No | No | TF-M Profile Small & | |
David Hu | 2cbf5df | 2020-06-15 10:41:44 +0800 | [diff] [blame^] | 337 | | | | | | | | | Regression tests [7]_ | |
David Hu | c51e7c5 | 2020-06-01 10:45:52 +0800 | [diff] [blame] | 338 | +------------------------+------------+---------------+-----------------+----------------+---------------+-------------------+-------------------------+ |
Kevin Peng | d9d1920 | 2020-01-15 19:34:39 +0800 | [diff] [blame] | 339 | |
| 340 | .. [1] Which TF-M Model is set: `CORE_IPC`. If `CORE_IPC` is set to true then the model is IPC model, otherwise it's library model. |
| 341 | |
| 342 | .. [2] The TF-M isolation level `TFM_LVL`. Currently Library model supports level 1. IPC model supports level 1 and 2. |
| 343 | |
| 344 | .. [3] Build regression tests or not: `REGRESSION`. |
| 345 | |
| 346 | .. [4] Build core tests or not: `CORE_TEST`. |
| 347 | |
| 348 | .. [5] Build IPC tests or not: `IPC_TEST`. It can be only enabled in IPC model |
| 349 | |
Minos Galanakis | fc6804e | 2020-03-10 11:03:34 +0000 | [diff] [blame] | 350 | .. [6] Build for PSA API compliance tests or not: `PSA_API_TEST`. |
Kevin Peng | d9d1920 | 2020-01-15 19:34:39 +0800 | [diff] [blame] | 351 | |
David Hu | 2cbf5df | 2020-06-15 10:41:44 +0800 | [diff] [blame^] | 352 | .. [7] Profile Small config doesn't cover all the platforms. Please check |
| 353 | Profile Small config files to find out the supported platforms. |
| 354 | |
Gyorgy Szing | db9783c | 2019-04-17 21:08:48 +0200 | [diff] [blame] | 355 | -------------- |
| 356 | |
Galanakis, Minos | dc6694b | 2020-01-06 13:54:56 +0000 | [diff] [blame] | 357 | *Copyright (c) 2017-2020, Arm Limited. All rights reserved.* |