aboutsummaryrefslogtreecommitdiff
path: root/platform/ext/target/arm/musca_b1/sse_200/preload.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ext/target/arm/musca_b1/sse_200/preload.cmake')
-rw-r--r--platform/ext/target/arm/musca_b1/sse_200/preload.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/ext/target/arm/musca_b1/sse_200/preload.cmake b/platform/ext/target/arm/musca_b1/sse_200/preload.cmake
new file mode 100644
index 0000000000..d641b42fcc
--- /dev/null
+++ b/platform/ext/target/arm/musca_b1/sse_200/preload.cmake
@@ -0,0 +1,19 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+
+# preload.cmake is used to set things that related to the platform that are both
+# immutable and global, which is to say they should apply to any kind of project
+# that uses this platform. In practise this is normally compiler definitions and
+# variables related to hardware.
+
+# Set architecture and CPU
+set(TFM_SYSTEM_PROCESSOR cortex-m33)
+set(TFM_SYSTEM_ARCHITECTURE armv8-m.main)
+
+
+# The Musca-B1 SSE 200 has a CryptoCell-312 as an accelerator.
+set(CRYPTO_HW_ACCELERATOR_TYPE cc312)