blob: 87c1c1c9748ec003e30611b33568f22b94b67834 [file] [log] [blame]
Jelle Sels03756662021-05-20 10:41:57 +02001#-------------------------------------------------------------------------------
2# Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7cmake_minimum_required(VERSION 3.18 FATAL_ERROR)
8set(TS_PLATFORM "arm/fvp/fvp_base_revc-2xaemv8a" CACHE STRING "Target platform location.")
9include(../../deployment.cmake REQUIRED)
10include(${TS_ROOT}/environments/opteesp/env.cmake)
11
12project(trusted-services LANGUAGES C ASM)
13add_executable(spm-test3)
14
Gyorgy Szing3e3db702023-07-21 14:18:19 +020015set(SP_BIN_UUID_CANON "23eb0100-e32a-4497-9052-2f11e584afa6")
Jelle Sels03756662021-05-20 10:41:57 +020016set(SP_UUID_CANON "23eb0100-e32a-4497-9052-2f11e584afa6")
17set(SP_NUMBER 3)
Gyorgy Szing8a1e7f42023-07-26 18:26:48 +020018set(SP_HEAP_SIZE "32 * 1024" CACHE STRING "SP heap size in bytes")
19set(TRACE_PREFIX "SPM-TEST${SP_NUMBER}" CACHE STRING "Trace prefix")
20
Jelle Sels03756662021-05-20 10:41:57 +020021#-------------------------------------------------------------------------------
22# Components that are spm-test specific to deployment in the opteesp
23# environment.
24#-------------------------------------------------------------------------------
25add_components(TARGET "spm-test${SP_NUMBER}"
26 BASE_DIR ${TS_ROOT}
27 COMPONENTS
28 "components/common/fdt"
29 "components/common/trace"
30 "components/common/utils"
31 "components/config/loader/sp"
32 "components/messaging/ffa/libsp"
33 "environments/opteesp"
34)
Gyorgy Szing8a1e7f42023-07-26 18:26:48 +020035
36include(${TS_ROOT}/components/service/spm_test/spm_test.cmake)