blob: 4cfd8865a8e3f1f9201b66d945342e3b2eee2676 [file] [log] [blame]
Raef Coles9ec67e62020-07-10 09:40:35 +01001#-------------------------------------------------------------------------------
Summer Qinf07cc312022-01-05 16:52:54 +08002# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Chris Brandcae20262022-06-23 12:05:33 -07003# Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company)
4# or an affiliate of Cypress Semiconductor Corporation. All rights reserved.
Raef Coles9ec67e62020-07-10 09:40:35 +01005#
6# SPDX-License-Identifier: BSD-3-Clause
7#
8#-------------------------------------------------------------------------------
9
Raef Coles69817322020-10-19 14:14:14 +010010set(TFM_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/toolchain_GNUARM.cmake CACHE FILEPATH "Path to TFM compiler toolchain file")
Øyvind Rønningstada9d5eac2021-01-22 14:21:25 +010011set(TFM_PLATFORM "" CACHE STRING "Platform to build TF-M for. Must be either a relative path from [TF-M]/platform/ext/target, or an absolute path.")
Raef Coles69817322020-10-19 14:14:14 +010012set(CROSS_COMPILE arm-none-eabi CACHE STRING "Cross-compilation triplet")
13
Raef Coles15a37f82021-12-07 15:59:14 +000014set(BL1 OFF CACHE BOOL "Whether to build BL1")
Raef Colesf0ba05b2021-11-25 09:57:17 +000015set(BL2 ON CACHE BOOL "Whether to build BL2")
Raef Coles9ec67e62020-07-10 09:40:35 +010016set(NS ON CACHE BOOL "Whether to build NS app")
17
18set(TEST_S OFF CACHE BOOL "Whether to build S regression tests")
19set(TEST_NS OFF CACHE BOOL "Whether to build NS regression tests")
20set(TEST_PSA_API "" CACHE STRING "Which (if any) of the PSA API tests should be compiled")
Raef Coles15a37f82021-12-07 15:59:14 +000021set(TEST_BL1_1 OFF CACHE BOOL "Whether to build BL1_1 tests")
22set(TEST_BL1_2 OFF CACHE BOOL "Whether to build BL1_2 tests")
Raef Coles9ec67e62020-07-10 09:40:35 +010023
Roman Mazurakff8e5072022-09-14 00:08:48 +030024set(PLATFORM_HAS_ISOLATION_L3_SUPPORT OFF CACHE BOOL "Platform supports Isolation level 3")
Raef Coles9ec67e62020-07-10 09:40:35 +010025set(TFM_ISOLATION_LEVEL 1 CACHE STRING "Isolation level")
Kevin Peng386374c2021-11-04 14:36:17 +080026set(PSA_FRAMEWORK_HAS_MM_IOVEC OFF CACHE BOOL "Enable MM-IOVEC")
Raef Coles9ec67e62020-07-10 09:40:35 +010027set(TFM_PROFILE "" CACHE STRING "Profile to use")
Tamas Banb881bea2020-11-04 16:18:36 +000028set(TFM_FIH_PROFILE OFF CACHE STRING "Fault injection hardening profile [OFF, LOW, MEDIUM, HIGH]")
Sherry Zhang86a71c62022-01-12 18:19:02 +080029set(CONFIG_TFM_CONN_HANDLE_MAX_NUM 8 CACHE STRING "The maximal number of secure services that are connected or requested at the same time")
Kevin Peng76c0c162022-02-09 22:49:06 +080030set(CONFIG_TFM_SPM_BACKEND "IPC" CACHE STRING "The SPM backend [IPC, SFN]")
Raef Coles9ec67e62020-07-10 09:40:35 +010031
Sherry Zhnag482b88b2021-08-19 17:51:47 +080032# An NSPE client_id is provided by the NSPE OS via the SPM or directly by the SPM.
33# When `TFM_NS_MANAGE_NSID` is `ON`, TF-M supports NSPE OS providing NSPE client_id.
34set(TFM_NS_MANAGE_NSID OFF CACHE BOOL "Support NSPE OS providing NSPE client_id")
Raef Coles9ec67e62020-07-10 09:40:35 +010035
36set(TFM_EXTRA_CONFIG_PATH "" CACHE PATH "Path to extra cmake config file")
Kevin Peng38800662021-07-14 10:28:23 +080037
38set(TFM_MANIFEST_LIST ${CMAKE_SOURCE_DIR}/tools/tfm_manifest_list.yaml CACHE FILEPATH "TF-M native Secure Partition manifests list file")
David Hub2694202021-07-15 14:58:39 +080039set(TFM_EXTRA_MANIFEST_LIST_FILES "" CACHE FILEPATH "Extra manifest list file(s), used to list extra Secure Partition manifests.")
Raef Coles9ec67e62020-07-10 09:40:35 +010040set(TFM_EXTRA_GENERATED_FILE_LIST_PATH "" CACHE PATH "Path to extra generated file list. Appended to stardard TFM generated file list.")
David Hub2694202021-07-15 14:58:39 +080041set(TFM_EXTRA_PARTITION_PATHS "" CACHE PATH "List of extra Secure Partitions directories. An extra Secure Parition folder contains source code, CMakeLists.txt and manifest files")
Raef Coles9ec67e62020-07-10 09:40:35 +010042
Shawn Shanfffd7ee2020-11-23 18:07:54 +080043set(TFM_SPM_LOG_LEVEL TFM_SPM_LOG_LEVEL_INFO CACHE STRING "Set default SPM log level as INFO level")
Shawn Shan9ea2f802020-11-19 11:04:39 +080044set(TFM_PARTITION_LOG_LEVEL TFM_PARTITION_LOG_LEVEL_INFO CACHE STRING "Set default Secure Partition log level as INFO level")
Shawn Shan6f33aad2020-10-16 15:30:17 +080045
Tamas Banf8b0b2d2020-10-26 13:03:13 +000046set(TFM_CODE_SHARING OFF CACHE PATH "Enable code sharing between MCUboot and secure firmware")
David Vinczea6f501e2021-06-14 10:42:30 +020047set(CONFIG_TFM_BOOT_STORE_MEASUREMENTS ON CACHE BOOL "Store measurement values from all the boot stages. Used for initial attestation token.")
David Vincze8c95d2a2022-01-19 10:11:58 +010048set(CONFIG_TFM_BOOT_STORE_ENCODED_MEASUREMENTS ON CACHE BOOL "Enable storing of encoded measurements in boot.")
Tamas Banf8b0b2d2020-10-26 13:03:13 +000049
Raef Colesa198a442020-11-24 11:42:53 +000050set(TFM_INSTALL_PATH ${CMAKE_BINARY_DIR}/install CACHE PATH "Path to which to install TF-M files")
51
Sebastian Bøeb73f1762021-10-28 14:23:13 +020052set(TFM_DEBUG_SYMBOLS ON CACHE BOOL "Add debug symbols. Note that setting CMAKE_BUILD_TYPE to Debug or RelWithDebInfo will also add debug symbols.")
53set(TFM_CODE_COVERAGE OFF CACHE BOOL "Whether to build the binary for lcov tools")
Karl Zhangf897e9e2021-01-08 17:52:53 +080054
Summer Qind8395932021-02-25 14:56:49 +080055set(TFM_PXN_ENABLE OFF CACHE BOOL "Use Privileged execute never (PXN)")
56
Øyvind Rønningstadf2c8dad2021-01-15 15:33:33 +010057set(TFM_EXCEPTION_INFO_DUMP OFF CACHE BOOL "On fatal errors in the secure firmware, capture info about the exception. Print the info if the SPM log level is sufficient.")
58
Sebastian Bøe055d83a2022-02-21 12:01:41 +010059set(CONFIG_TFM_HALT_ON_CORE_PANIC OFF CACHE BOOL "On fatal errors in the secure firmware, halt instead of rebooting.")
60
Kevin Peng613b4172022-02-15 14:41:44 +080061set(CONFIG_TFM_DOORBELL_API ON CACHE BOOL "Enable the doorbell APIs")
62
Chris Brand30106ba2022-01-13 13:48:50 -080063set(CONFIG_TFM_STACK_WATERMARKS OFF CACHE BOOL "Whether to pre-fill partition stacks with a set value to help determine stack usage")
64
Raef Coles9ec67e62020-07-10 09:40:35 +010065############################ Platform ##########################################
66
David Hu8b526d42020-11-27 20:59:52 +080067set(NUM_MAILBOX_QUEUE_SLOT 1 CACHE BOOL "Number of mailbox queue slots")
Mark Horvathdadc1ea2021-03-12 15:39:25 +010068set(TFM_PLAT_SPECIFIC_MULTI_CORE_COMM OFF CACHE BOOL "Whether to use a platform specific inter-core communication instead of mailbox in dual-cpu topology")
David Hu60863942020-10-14 14:49:19 +080069
Raef Coles9ec67e62020-07-10 09:40:35 +010070set(DEBUG_AUTHENTICATION CHIP_DEFAULT CACHE STRING "Debug authentication setting. [CHIP_DEFAULT, NONE, NS_ONLY, FULL")
71set(SECURE_UART1 OFF CACHE BOOL "Enable secure UART1")
72
73set(CRYPTO_HW_ACCELERATOR OFF CACHE BOOL "Whether to enable the crypto hardware accelerator on supported platforms")
Raef Coles9ec67e62020-07-10 09:40:35 +010074
Raef Coles148b9472021-06-18 08:48:17 +010075set(OTP_NV_COUNTERS_RAM_EMULATION OFF CACHE BOOL "Enable OTP/NV_COUNTERS emulation in RAM. Has no effect on non-default implementations of the OTP and NV_COUNTERS")
Raef Coles249aba92022-06-16 10:20:29 +010076set(TFM_NS_NV_COUNTER_AMOUNT 0 CACHE STRING "How many NS NV counters are enabled")
Raef Coles148b9472021-06-18 08:48:17 +010077
Raef Coles15a37f82021-12-07 15:59:14 +000078set(PLATFORM_DEFAULT_BL1 ON CACHE STRING "Whether to use default BL1 or platform-specific one")
79
Raef Coles33ff1532021-06-18 09:18:08 +010080set(PLATFORM_DEFAULT_ATTEST_HAL ON CACHE BOOL "Use default attest hal implementation.")
81set(PLATFORM_DEFAULT_NV_COUNTERS ON CACHE BOOL "Use default nv counter implementation.")
82set(PLATFORM_DEFAULT_CRYPTO_KEYS ON CACHE BOOL "Use default crypto keys implementation.")
83set(PLATFORM_DEFAULT_ROTPK ON CACHE BOOL "Use default root of trust public key.")
84set(PLATFORM_DEFAULT_IAK ON CACHE BOOL "Use default initial attestation_key.")
85set(PLATFORM_DEFAULT_UART_STDOUT ON CACHE BOOL "Use default uart stdout implementation.")
86set(PLATFORM_DEFAULT_NV_SEED ON CACHE BOOL "Use default NV seed implementation.")
Raef Coles148b9472021-06-18 08:48:17 +010087set(PLATFORM_DEFAULT_OTP ON CACHE BOOL "Use trusted on-chip flash to implement OTP memory")
Michel Jaouend0fd8d92021-10-14 09:22:41 +020088set(PLATFORM_DEFAULT_OTP_WRITEABLE ON CACHE BOOL "Use OTP memory with write support")
Raef Colesaefbe082021-06-18 08:53:43 +010089set(PLATFORM_DEFAULT_PROVISIONING ON CACHE BOOL "Use default provisioning implementation")
Raef Coles236c1882022-09-13 13:35:43 +010090set(PLATFORM_DEFAULT_SYSTEM_RESET_HALT ON CACHE BOOL "Use default system reset/halt implementation")
Raef Colesaefbe082021-06-18 08:53:43 +010091
92set(TFM_DUMMY_PROVISIONING ON CACHE BOOL "Provision with dummy values. NOT to be used in production")
Satish Kumarfab99222021-07-22 16:32:15 +010093set(PLATFORM_IS_FVP FALSE CACHE BOOL "Whether to enable FVP or FPGA build of the platform.")
Raef Coles9ec67e62020-07-10 09:40:35 +010094
Satish Kumare945bc22021-07-31 08:26:27 +010095set(PLATFORM_PSA_ADAC_SECURE_DEBUG FALSE CACHE BOOL "Whether to use psa-adac secure debug.")
96set(PLATFORM_PSA_ADAC_SOURCE_PATH "DOWNLOAD" CACHE PATH "Path to source dir of psa-adac.")
97set(PLATFORM_PSA_ADAC_VERSION "427923cc0152578d536fb2065154d5d0dd874910" CACHE STRING "The version of psa-adac to use.")
98
Raef Coles15a37f82021-12-07 15:59:14 +000099set(BL1_HEADER_SIZE 0x000 CACHE STRING "BL1 Header size")
100set(BL1_TRAILER_SIZE 0x000 CACHE STRING "BL1 Trailer size")
101
Raef Colesf0ba05b2021-11-25 09:57:17 +0000102set(BL2_HEADER_SIZE 0x000 CACHE STRING "BL2 Header size")
103set(BL2_TRAILER_SIZE 0x000 CACHE STRING "BL2 Trailer size")
104
Raef Coles9ec67e62020-07-10 09:40:35 +0100105############################ Partitions ########################################
Raef Coles9ec67e62020-07-10 09:40:35 +0100106set(TFM_PARTITION_PROTECTED_STORAGE ON CACHE BOOL "Enable Protected Storage partition")
Jamie Fox865778b2020-10-23 19:52:51 +0100107set(PS_CREATE_FLASH_LAYOUT ON CACHE BOOL "Create flash FS if it doesn't exist for Protected Storage partition")
Raef Coles9ec67e62020-07-10 09:40:35 +0100108set(PS_ENCRYPTION ON CACHE BOOL "Enable encryption for Protected Storage partition")
109set(PS_RAM_FS OFF CACHE BOOL "Enable emulated RAM FS for platforms that don't have flash for Protected Storage partition")
110set(PS_ROLLBACK_PROTECTION ON CACHE BOOL "Enable rollback protection for Protected Storage partition")
Jamie Fox34a7a232020-10-20 16:19:09 +0100111set(PS_VALIDATE_METADATA_FROM_FLASH ON CACHE BOOL "Validate filesystem metadata every time it is read from flash")
Jamie Fox865778b2020-10-23 19:52:51 +0100112set(PS_MAX_ASSET_SIZE "2048" CACHE STRING "The maximum asset size to be stored in the Protected Storage area")
113set(PS_NUM_ASSETS "10" CACHE STRING "The maximum number of assets to be stored in the Protected Storage area")
114set(PS_CRYPTO_AEAD_ALG PSA_ALG_GCM CACHE STRING "The AEAD algorithm to use for authenticated encryption in Protected Storage")
Kevin Pengf553c722022-08-02 14:50:10 +0800115set(PS_STACK_SIZE "0x700" CACHE STRING "The stack size of the Protected Storage Secure Partition")
Raef Coles9ec67e62020-07-10 09:40:35 +0100116
117set(TFM_PARTITION_INTERNAL_TRUSTED_STORAGE ON CACHE BOOL "Enable Internal Trusted Storage partition")
Jamie Fox865778b2020-10-23 19:52:51 +0100118set(ITS_CREATE_FLASH_LAYOUT ON CACHE BOOL "Create flash FS if it doesn't exist for Internal Trusted Storage partition")
119set(ITS_RAM_FS OFF CACHE BOOL "Enable emulated RAM FS for platforms that don't have flash for Internal Trusted Storage partition")
Jamie Fox34a7a232020-10-20 16:19:09 +0100120set(ITS_VALIDATE_METADATA_FROM_FLASH ON CACHE BOOL "Validate filesystem metadata every time it is read from flash")
Jamie Fox865778b2020-10-23 19:52:51 +0100121set(ITS_MAX_ASSET_SIZE "512" CACHE STRING "The maximum asset size to be stored in the Internal Trusted Storage area")
122set(ITS_NUM_ASSETS "10" CACHE STRING "The maximum number of assets to be stored in the Internal Trusted Storage area")
Raef Coles9ec67e62020-07-10 09:40:35 +0100123set(ITS_BUF_SIZE "" CACHE STRING "Size of the ITS internal data transfer buffer (defaults to ITS_MAX_ASSET_SIZE if not set)")
Kevin Pengf553c722022-08-02 14:50:10 +0800124set(ITS_STACK_SIZE "0x720" CACHE STRING "The stack size of the Internal Trusted Storage Secure Partition")
Raef Coles9ec67e62020-07-10 09:40:35 +0100125
126set(TFM_PARTITION_CRYPTO ON CACHE BOOL "Enable Crypto partition")
Soby Mathew4739c732020-10-07 12:11:05 +0100127# CRYPTO_ENGINE_BUF_SIZE needs to be >8KB for EC signing by attest module.
Summer Qine8412b42020-10-15 14:20:21 +0800128set(CRYPTO_ENGINE_BUF_SIZE 0x2080 CACHE STRING "Heap size for the crypto backend")
Soby Mathew4739c732020-10-07 12:11:05 +0100129set(CRYPTO_CONC_OPER_NUM 8 CACHE STRING "The max number of concurrent operations that can be active (allocated) at any time in Crypto")
Ioannis Glaropoulos829aa752021-06-15 12:37:02 +0200130set(CRYPTO_RNG_MODULE_DISABLED FALSE CACHE BOOL "Disable PSA Crypto random number generator module")
Soby Mathew4739c732020-10-07 12:11:05 +0100131set(CRYPTO_KEY_MODULE_DISABLED FALSE CACHE BOOL "Disable PSA Crypto Key module")
132set(CRYPTO_AEAD_MODULE_DISABLED FALSE CACHE BOOL "Disable PSA Crypto AEAD module")
133set(CRYPTO_MAC_MODULE_DISABLED FALSE CACHE BOOL "Disable PSA Crypto MAC module")
134set(CRYPTO_HASH_MODULE_DISABLED FALSE CACHE BOOL "Disable PSA Crypto Hash module")
135set(CRYPTO_CIPHER_MODULE_DISABLED FALSE CACHE BOOL "Disable PSA Crypto Cipher module")
David Hu0c250bc2021-05-12 10:55:53 +0800136set(CRYPTO_ASYM_SIGN_MODULE_DISABLED FALSE CACHE BOOL "Disable PSA Crypto asymmetric key signature module")
137set(CRYPTO_ASYM_ENCRYPT_MODULE_DISABLED FALSE CACHE BOOL "Disable PSA Crypto asymmetric key encryption module")
Håkon Øye Amundsen112e48d2021-01-19 15:41:10 +0100138set(CRYPTO_KEY_DERIVATION_MODULE_DISABLED FALSE CACHE BOOL "Disable PSA Crypto key derivation module")
Soby Mathew4739c732020-10-07 12:11:05 +0100139set(CRYPTO_IOVEC_BUFFER_SIZE 5120 CACHE STRING "Default size of the internal scratch buffer used for PSA FF IOVec allocations")
Raef Coles618fc152021-06-18 09:26:46 +0100140set(CRYPTO_NV_SEED ON CACHE BOOL "Use stored NV seed to provide entropy")
David Hue69294d2022-06-21 22:21:37 +0800141set(CRYPTO_SINGLE_PART_FUNCS_DISABLED OFF CACHE BOOL "Only enable multi-part operations in Hash, MAC, AEAD and symmetric ciphers, to optimize memory footprint in resource-constrained devices")
Raef Coles79809c72022-03-02 13:48:20 +0000142set(CRYPTO_TFM_BUILTIN_KEYS_DRIVER ON CACHE BOOL "Whether to allow crypto service to store builtin keys. Without this, ALL builtin keys must be stored in a platform-specific location")
Kevin Pengf553c722022-08-02 14:50:10 +0800143set(CRYPTO_STACK_SIZE "0x1B00" CACHE STRING "The stack size of the Crypto Secure Partition")
Raef Coles9ec67e62020-07-10 09:40:35 +0100144
145set(TFM_PARTITION_INITIAL_ATTESTATION ON CACHE BOOL "Enable Initial Attestation partition")
146set(SYMMETRIC_INITIAL_ATTESTATION OFF CACHE BOOL "Use symmetric crypto for inital attestation")
147set(ATTEST_INCLUDE_OPTIONAL_CLAIMS ON CACHE BOOL "Include optional claims in initial attestation token")
148set(ATTEST_INCLUDE_COSE_KEY_ID OFF CACHE BOOL "Include COSE key-id in initial attestation token")
Tamas Ban7a32d9c2022-06-28 15:45:10 +0200149set(ATTEST_TOKEN_PROFILE "PSA_IOT_1" CACHE STRING "Set the initial attestation token profile. Options: PSA_IOT_1, PSA_2_0_0, ARM_CCA")
David Vincze08a50652022-04-29 11:10:38 +0200150set(ATTEST_STACK_SIZE "0x700" CACHE STRING "The stack size of the Initial Attestation Secure Partition")
Joakim Andersson7f572ff2022-08-09 16:50:36 +0200151set(ATTEST_INCLUDE_TEST_CODE OFF CACHE BOOL "Include minimal development tests in the initial attestation regression test suite")
David Vincze75ee5162022-06-08 17:23:09 +0200152set(ATTEST_KEY_BITS 256 CACHE STRING "The size of the initial attestation key in bits")
Raef Coles9ec67e62020-07-10 09:40:35 +0100153
154set(TFM_PARTITION_PLATFORM ON CACHE BOOL "Enable Platform partition")
Satish Kumar58484ec2022-08-03 15:50:27 +0100155set(PLATFORM_SERVICE_INPUT_BUFFER_SIZE 64 CACHE STRING "Size of input buffer in platform service.")
156set(PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE 64 CACHE STRING "Size of output buffer in platform service.")
Kevin Pengf553c722022-08-02 14:50:10 +0800157set(PLATFORM_SP_STACK_SIZE "0x500" CACHE STRING "The stack size of the TF-M Platform Secure Partition")
Joakim Andersson760ce612021-12-30 15:06:19 +0100158set(PLATFORM_NV_COUNTER_MODULE_DISABLED FALSE CACHE BOOL "Disable Non-volatile counter module")
Raef Coles9ec67e62020-07-10 09:40:35 +0100159
Raef Coles9ec67e62020-07-10 09:40:35 +0100160################################## Dependencies ################################
161
162set(MBEDCRYPTO_PATH "DOWNLOAD" CACHE PATH "Path to Mbed Crypto (or DOWNLOAD to fetch automatically")
Antonio de Angelis90bee0f2022-07-13 11:22:41 +0100163set(MBEDCRYPTO_VERSION "mbedtls-3.2.1" CACHE STRING "The version of Mbed Crypto to use")
Summer Qin853a5472022-04-01 16:53:45 +0800164set(MBEDCRYPTO_GIT_REMOTE "https://github.com/Mbed-TLS/mbedtls.git" CACHE STRING "The URL (or path) to retrieve MbedTLS from.")
Raef Coles9ec67e62020-07-10 09:40:35 +0100165set(MBEDCRYPTO_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING "Build type of Mbed Crypto library")
Håkon Øye Amundsen8ab569b2021-11-04 13:59:04 +0000166set(TFM_MBEDCRYPTO_CONFIG_PATH
167 "${CMAKE_SOURCE_DIR}/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_default.h" CACHE PATH
168 "Config to use for Mbed Crypto. For increased flexibility when pointing to a file, set the type \
169of this setting to 'STRING' by passing the :<type> portion when specifying the setting value in \
170the command line. E.g. '-DTFM_MBEDCRYPTO_CONFIG_PATH:STRING=some_file_which_is_generated.h' \
171This can be useful if the config file is generated and placed inside a directory already added \
172to the include path of mbedtls.")
Summer Qin7c0d8d32021-12-17 15:43:08 +0800173set(TFM_MBEDCRYPTO_PSA_CRYPTO_CONFIG_PATH "${CMAKE_SOURCE_DIR}/lib/ext/mbedcrypto/mbedcrypto_config/crypto_config_default.h" CACHE PATH "Config to use psa crypto setting for Mbed Crypto.")
Raef Coles9ec67e62020-07-10 09:40:35 +0100174set(TFM_MBEDCRYPTO_PLATFORM_EXTRA_CONFIG_PATH "" CACHE PATH "Config to append to standard Mbed Crypto config, used by platforms to cnfigure feature support")
175
David Vincze7e1c5a42021-07-28 23:41:35 +0200176set(MCUBOOT_PATH "DOWNLOAD" CACHE PATH "Path to MCUboot (or DOWNLOAD to fetch automatically")
Michel Jaouen24c3dd02021-08-12 15:32:13 +0200177set(MCUBOOT_VERSION "v1.9.0" CACHE STRING "The version of MCUboot to use")
Raef Coles9ec67e62020-07-10 09:40:35 +0100178
179set(PSA_ARCH_TESTS_PATH "DOWNLOAD" CACHE PATH "Path to PSA arch tests (or DOWNLOAD to fetch automatically")
Summer Qindaa230f2022-11-09 14:28:07 +0800180set(PSA_ARCH_TESTS_VERSION "cf8bd71" CACHE STRING "The version of PSA arch tests to use")
David Vincze0c515de2020-11-25 19:02:57 +0100181
Gabor Abonyie3222f92022-04-07 13:53:03 +0200182set(NS_EVALUATION_APP_PATH "" CACHE PATH "Path to TFM NS Evaluation Application")
183
David Vincze0c515de2020-11-25 19:02:57 +0100184################################################################################
185################################################################################
186
187# Specifying the accepted values for certain configuration options to facilitate
188# their later validation.
189
Tamas Banb881bea2020-11-04 16:18:36 +0000190########################## FIH #################################################
191
192set_property(CACHE TFM_FIH_PROFILE PROPERTY STRINGS "OFF;LOW;MEDIUM;HIGH")