summaryrefslogtreecommitdiff
path: root/nrfdemo/build/tfm/api_ns/platform/common/nrf91/config.cmake
diff options
context:
space:
mode:
authorMichal Hanus <mikehanus@protonmail.com>2025-04-14 22:04:32 +0200
committerMichal Hanus <mikehanus@protonmail.com>2025-04-14 22:04:32 +0200
commit2e13c372f1419f08dab7797b244681f889dd9bcf (patch)
tree995a31c40f13068c4135c213e938e0a2a9ed05a3 /nrfdemo/build/tfm/api_ns/platform/common/nrf91/config.cmake
parent620dfd94019f3c7e3022fa5a5fb9c9b51491062d (diff)
nrfdemo
Diffstat (limited to 'nrfdemo/build/tfm/api_ns/platform/common/nrf91/config.cmake')
-rw-r--r--nrfdemo/build/tfm/api_ns/platform/common/nrf91/config.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/nrfdemo/build/tfm/api_ns/platform/common/nrf91/config.cmake b/nrfdemo/build/tfm/api_ns/platform/common/nrf91/config.cmake
new file mode 100644
index 0000000..39740bc
--- /dev/null
+++ b/nrfdemo/build/tfm/api_ns/platform/common/nrf91/config.cmake
@@ -0,0 +1,14 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2020, Nordic Semiconductor ASA.
+# Copyright (c) 2020-2023, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+
+include(${PLATFORM_PATH}/common/core/config.cmake)
+
+set(SECURE_UART1 ON CACHE BOOL "Enable secure UART1")
+set(NRF_NS_STORAGE OFF CACHE BOOL "Enable non-secure storage partition")
+set(BL2 ON CACHE BOOL "Whether to build BL2")
+set(NRF_NS_SECONDARY ${BL2} CACHE BOOL "Enable non-secure secondary partition")