1#------------------------------------------------------------------------------- 2# Copyright (c) 2020, Arm Limited. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6#------------------------------------------------------------------------------- 7 8# preload.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 plaform. In practise this is normally compiler definitions and 11# variables related to hardware. 12 13# Set architecture and CPU. Cypress PSoC64 runs the NS code on its Cortex-M4 14set(TFM_SYSTEM_PROCESSOR cortex-m4) 15set(TFM_SYSTEM_ARCHITECTURE armv7-m) 16