aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>2024-04-10 11:31:47 +0200
committerJonny Svärd <jonny.svaerd@arm.com>2024-04-18 11:23:54 +0000
commitfffdcf032030620e57329f54a13a8cc49658ee1a (patch)
treef1da44b100e72e5c9a3b46a535e958b6811cd0dd
parentc218583a68089af2f474455b09b22df4154587cc (diff)
downloadethos-u-core-platform-master.tar.gz
Print useful core_platform build variablesHEADmaster
To make it easier to verify the settings used for a build, additional prints of useful cmake variables has been added to the CmakeLists.txt file. Change-Id: I147144ed9eea07ad2d90e5f7eaa3f665e0220c95 Signed-off-by: Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
-rw-r--r--applications/CMakeLists.txt9
-rw-r--r--targets/common/CMakeLists.txt12
2 files changed, 18 insertions, 3 deletions
diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt
index 1fa2b2e..a017575 100644
--- a/applications/CMakeLists.txt
+++ b/applications/CMakeLists.txt
@@ -1,6 +1,5 @@
#
-# SPDX-FileCopyrightText: Copyright 2021, 2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
-#
+# SPDX-FileCopyrightText: Copyright 2021, 2023-2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
@@ -32,3 +31,9 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "ARMClang")
# Only armclang supported for now
add_subdirectory(trustzone_inference)
endif()
+
+message(STATUS "*******************************************************")
+message(STATUS "PROJECT_NAME : ${PROJECT_NAME}")
+message(STATUS "TR_ARENA_SIZE : ${TR_ARENA_SIZE}")
+message(STATUS "MESSAGE_HANDLER_ARENA_SIZE : ${MESSAGE_HANDLER_ARENA_SIZE}")
+message(STATUS "*******************************************************")
diff --git a/targets/common/CMakeLists.txt b/targets/common/CMakeLists.txt
index 0001172..eb7916b 100644
--- a/targets/common/CMakeLists.txt
+++ b/targets/common/CMakeLists.txt
@@ -1,6 +1,5 @@
#
# SPDX-FileCopyrightText: Copyright 2021, 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
-#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
@@ -69,3 +68,14 @@ add_library(ethosu_target_init INTERFACE)
target_link_libraries(ethosu_target_init INTERFACE ethosu_target_startup)
target_sources(ethosu_target_init INTERFACE src/init.cpp)
+#
+# Print build status
+#
+
+message(STATUS "*******************************************************")
+message(STATUS "PROJECT_NAME : ${PROJECT_NAME}")
+message(STATUS "FAST_MEMORY_SIZE : ${FAST_MEMORY_SIZE}")
+message(STATUS "MEMORY_MODEL : ${MEMORY_MODEL}")
+message(STATUS "MEMORY_ARENA : ${MEMORY_ARENA}")
+message(STATUS "TARGET_CPU : ${TARGET_CPU}")
+message(STATUS "*******************************************************")