blob: d4411a8316741083994012b7900cb418eccb2103 [file] [log] [blame]
Raef Colese4607ed2020-07-22 16:18:29 +01001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
Tamas Ban69219202020-10-27 08:13:18 +00008set(BL2 OFF CACHE BOOL "Whether to build BL2")
Raef Colese4607ed2020-07-22 16:18:29 +01009
Tamas Ban69219202020-10-27 08:13:18 +000010set(TFM_PSA_API ON CACHE BOOL "Use PSA api (IPC mode) instead of secure library mode")
Raef Colese4607ed2020-07-22 16:18:29 +010011
Tamas Ban69219202020-10-27 08:13:18 +000012set(TFM_NS_CLIENT_IDENTIFICATION OFF CACHE BOOL "Enable NS client identification")
Raef Colese4607ed2020-07-22 16:18:29 +010013
14############################ Platform ##########################################
15
Tamas Ban69219202020-10-27 08:13:18 +000016set(TFM_MULTI_CORE_TOPOLOGY ON CACHE BOOL "Whether to build for a dual-cpu architecture")
17set(TFM_MULTI_CORE_MULTI_CLIENT_CALL ON CACHE BOOL "Whether to enable multiple PSA client calls feature")
Raef Colese4607ed2020-07-22 16:18:29 +010018
Tamas Ban69219202020-10-27 08:13:18 +000019set(PLATFORM_DUMMY_ATTEST_HAL FALSE CACHE BOOL "Use dummy attest hal implementation. Should not be used in production.")
20set(PLATFORM_DUMMY_NV_COUNTERS FALSE CACHE BOOL "Use dummy nv counter implementation. Should not be used in production.")
21set(PLATFORM_DUMMY_CRYPTO_KEYS FALSE CACHE BOOL "Use dummy crypto keys. Should not be used in production.")
Andrei Narkevitchdb2090a2020-10-05 16:58:17 -070022
23# Disable default PDL IPC configuration. Use Cy_Platform_Init() in
24# in psoc6_system_init_cm4.c and psoc6_system_init_cm0p.c instead.
25add_definitions(-DCY_IPC_DEFAULT_CFG_DISABLE)