#------------------------------------------------------------------------------- # Copyright (c) 2020-2023, Arm Limited. All rights reserved. # Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company) # or an affiliate of Cypress Semiconductor Corporation. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # #------------------------------------------------------------------------------- set(CRYPTO_HW_ACCELERATOR ON CACHE BOOL "Whether to enable the crypto hardware accelerator on supported platforms") set(PLATFORM_GPLED_ENABLED OFF CACHE BOOL "Use the general purpose LEDs on the platform board") list(APPEND TFM_EXTRA_GENERATED_FILE_LIST_PATH ${CMAKE_CURRENT_LIST_DIR}/generated_file_list.yaml) if(BL2) set(BL2_TRAILER_SIZE 0x800 CACHE STRING "Trailer size") else() #No header if no bootloader, but keep IMAGE_CODE_SIZE the same set(BL2_TRAILER_SIZE 0xC00 CACHE STRING "Trailer size") endif() set(PLATFORM_DEFAULT_SYSTEM_RESET_HALT OFF CACHE BOOL "Use default system reset/halt implementation") # Platform-specific configurations set(CONFIG_TFM_USE_TRUSTZONE ON) set(TFM_MULTI_CORE_TOPOLOGY OFF) set(PLATFORM_HAS_ISOLATION_L3_SUPPORT ON) set(PLATFORM_HAS_FIRMWARE_UPDATE_SUPPORT ON) set(MCUBOOT_DATA_SHARING ON)