diff options
| author | Michal Hanus <mikehanus@protonmail.com> | 2025-04-14 22:04:32 +0200 |
|---|---|---|
| committer | Michal Hanus <mikehanus@protonmail.com> | 2025-04-14 22:04:32 +0200 |
| commit | 2e13c372f1419f08dab7797b244681f889dd9bcf (patch) | |
| tree | 995a31c40f13068c4135c213e938e0a2a9ed05a3 /nrfdemo/builddk/tfm/api_ns/platform/common/config.cmake | |
| parent | 620dfd94019f3c7e3022fa5a5fb9c9b51491062d (diff) | |
nrfdemo
Diffstat (limited to 'nrfdemo/builddk/tfm/api_ns/platform/common/config.cmake')
| -rw-r--r-- | nrfdemo/builddk/tfm/api_ns/platform/common/config.cmake | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nrfdemo/builddk/tfm/api_ns/platform/common/config.cmake b/nrfdemo/builddk/tfm/api_ns/platform/common/config.cmake new file mode 100644 index 0000000..1265256 --- /dev/null +++ b/nrfdemo/builddk/tfm/api_ns/platform/common/config.cmake @@ -0,0 +1,31 @@ +# +# Copyright (c) 2021 - 2023, Nordic Semiconductor ASA. +# +# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause +# + +# Override the platform crypto key handling +set(PLATFORM_DEFAULT_CRYPTO_KEYS FALSE CACHE BOOL "Use default crypto keys implementation.") + +set(PLATFORM_DEFAULT_SYSTEM_RESET_HALT OFF CACHE BOOL "Use default system reset/halt implementation") + +# Disable crypto regression tests that are not supported +set(TFM_CRYPTO_TEST_ALG_CFB OFF CACHE BOOL "Test CFB cryptography mode") +set(TFM_CRYPTO_TEST_ALG_OFB OFF CACHE BOOL "Test OFB cryptography mode") + +# Always enable the nonsecure storage partition. +# It will still be excluded if the partition manager excludes it. +set(NRF_NS_STORAGE ON CACHE BOOL "Enable non-secure storage partition") +set(PLATFORM_DEFAULT_ATTEST_HAL OFF CACHE BOOL "Use default attest hal implementation.") + +set(NRF_ALLOW_NON_SECURE_RESET OFF CACHE BOOL "Allow system reset calls from Non-Secure") +set(NRF_ALLOW_NON_SECURE_FAULT_HANDLING OFF CACHE BOOL "Allow Non-Secure to handle Secure faults triggered by Non-Secure") + +set(TFM_DUMMY_PROVISIONING OFF CACHE BOOL "Provision with dummy values. NOT to be used in production") +set(PLATFORM_DEFAULT_PROVISIONING OFF CACHE BOOL "Use default provisioning implementation") +set(NRF_PROVISIONING OFF CACHE BOOL "Use Nordic provisioning implementation") +set(CONFIG_NFCT_PINS_AS_GPIOS OFF CACHE BOOL "Use NFCT pins as GPIOs.") +set(CONFIG_NRF_TRACE_PORT OFF CACHE BOOL "Enable trace port.") + +set(CONFIG_HW_UNIQUE_KEY ON CACHE BOOL "Enable Hardware Unique Key") +set(CONFIG_HW_UNIQUE_KEY_RANDOM ON CACHE BOOL "Write a new Hardware Unique Key if none exists") |
