aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Olsson <mikael.olsson@arm.com>2024-01-24 13:33:34 +0100
committerMikael Olsson <mikael.olsson@arm.com>2024-01-24 13:35:18 +0100
commitf44f8b2cf03a537da13698dba1fe09c2e0251352 (patch)
treee456427b4c61ee17790cc2f072a74549370e17e1
parentad5b6f2a6ca5f9ed1312224767490073315d68b9 (diff)
downloadethos-u-core-platform-f44f8b2cf03a537da13698dba1fe09c2e0251352.tar.gz
Change threadx_demo to only build for Corstone-300
The threadx_demo is only supported for the Corstone-300 target so a check for the target has been added to the CMake file Change-Id: I2778a85582625239df0b46b9b0bf3abd12c5826f Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
-rw-r--r--applications/threadx_demo/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/threadx_demo/CMakeLists.txt b/applications/threadx_demo/CMakeLists.txt
index 41fabdd..e37b852 100644
--- a/applications/threadx_demo/CMakeLists.txt
+++ b/applications/threadx_demo/CMakeLists.txt
@@ -17,7 +17,7 @@
#
# Exclude this app if ThreadX target does not exist or if NPU configuration is not H128
-if (NOT TARGET threadx OR NOT TARGET ethosu_core_driver OR NOT ETHOSU_TARGET_NPU_CONFIG STREQUAL "ethos-u55-128")
+if (NOT TARGET threadx OR NOT TARGET ethosu_core_driver OR NOT ETHOSU_TARGET_NPU_CONFIG STREQUAL "ethos-u55-128" OR NOT ETHOSU_TARGET STREQUAL "corstone-300")
message("Skipping ThreadX application")
return()
endif()