1#-------------------------------------------------------------------------------
2# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8# cpuarch.cmake is used to set things that related to the platform that are both
9# immutable and global, which is to say they should apply to any kind of project
10# that uses this platform. In practise this is normally compiler definitions and
11# variables related to hardware.
12
13# Set architecture and CPU
14set(TFM_SYSTEM_PROCESSOR cortex-m0plus)
15set(TFM_SYSTEM_ARCHITECTURE armv6-m)
16
17
18# Secure Enclave has a CryptoCell-312 as an accelerator.
19set(CRYPTO_HW_ACCELERATOR_TYPE cc312)
20