1#------------------------------------------------------------------------------- 2# Copyright (c) 2020, Arm Limited. All rights reserved. 3# Copyright (c) 2021 STMicroelectronics. All rights reserved. 4# 5# SPDX-License-Identifier: BSD-3-Clause 6# 7#------------------------------------------------------------------------------- 8 9# preload.cmake is used to set things that related to the platform that are both 10# immutable and global, which is to say they should apply to any kind of project 11# that uses this platform. In practise this is normally compiler definitions and 12# variables related to hardware. 13 14# Set architecture and CPU 15set(TFM_SYSTEM_PROCESSOR cortex-m33) 16set(TFM_SYSTEM_ARCHITECTURE armv8-m.main) 17set(CRYPTO_HW_ACCELERATOR_TYPE stm) 18add_compile_definitions( 19 STM32L552xx 20) 21