aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2019-09-23 18:46:15 +0800
committerDavid Hu <david.hu@arm.com>2019-11-11 14:04:51 +0800
commitd2753b3a19fdd018dc262d07ea952cab83ec9155 (patch)
treebe7c3dc5ccc208f1816e08c6e59c670da9232e48 /app
parentdbafa3e12146651a12a923f932d993cff9f35f02 (diff)
downloadtrusted-firmware-m-d2753b3a19fdd018dc262d07ea952cab83ec9155.tar.gz
Twincpu: Add NSPE mailbox implementation
Add reference example of NSPE mailbox implementation Change-Id: I6b658459faaddbbc643761a93714a78df6fdbb38 Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'app')
-rw-r--r--app/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index 0dff1e969a..2e6154e884 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -106,7 +106,11 @@ if (PSA_API_TEST_NS)
endif()
if (TFM_PSA_API)
- list(APPEND NS_APP_SRC "${INTERFACE_DIR}/src/tfm_psa_ns_api.c")
+ if (DEFINED TFM_MULTI_CORE_TOPOLOGY AND TFM_MULTI_CORE_TOPOLOGY)
+ list(APPEND NS_APP_SRC "${INTERFACE_DIR}/src/tfm_ns_mailbox.c")
+ else()
+ list(APPEND NS_APP_SRC "${INTERFACE_DIR}/src/tfm_psa_ns_api.c")
+ endif()
endif()
set(BUILD_CMSIS_CORE On)