1#------------------------------------------------------------------------------- 2# Copyright (c) 2020-2021, Arm Limited. All rights reserved. 3# Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company) 4# or an affiliate of Cypress Semiconductor Corporation. All rights reserved. 5# 6# SPDX-License-Identifier: BSD-3-Clause 7# 8#------------------------------------------------------------------------------- 9 10set(TFM_EXTRA_GENERATED_FILE_LIST_PATH ${CMAKE_CURRENT_SOURCE_DIR}/platform/ext/target/arm/mps2/an521/generated_file_list.yaml CACHE PATH "Path to extra generated file list. Appended to stardard TFM generated file list." FORCE) 11 12set(CONFIG_TFM_USE_TRUSTZONE ON CACHE BOOL "Enable use of TrustZone to transition between NSPE and SPE") 13set(TFM_MULTI_CORE_TOPOLOGY OFF CACHE BOOL "Whether to build for a dual-cpu architecture") 14 15set(PLATFORM_HAS_ISOLATION_L3_SUPPORT ON CACHE BOOL "Platform supports Isolation level 3") 16set(PLATFORM_SLIH_IRQ_TEST_SUPPORT ON CACHE BOOL "Platform supports SLIH IRQ tests") 17set(PLATFORM_FLIH_IRQ_TEST_SUPPORT ON CACHE BOOL "Platform supports FLIH IRQ tests") 18 19# Make FLIH IRQ test as the default IRQ test on AN521 20set(TEST_NS_SLIH_IRQ OFF CACHE BOOL "Whether to build NS regression Second-Level Interrupt Handling tests") 21 22if(BL2) 23 set(BL2_TRAILER_SIZE 0x10000 CACHE STRING "Trailer size") 24else() 25 #No header if no bootloader, but keep IMAGE_CODE_SIZE the same 26 set(BL2_TRAILER_SIZE 0x10400 CACHE STRING "Trailer size") 27endif() 28