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 platform. In practise this is normally compiler definitions and 11# variables related to hardware. 12 13# Set architecture and CPU. Cypress PSoC64 runs the S code on its Cortex-m0+ 14set(TFM_SYSTEM_PROCESSOR cortex-m0plus) 15set(TFM_SYSTEM_ARCHITECTURE armv6-m) 16