aboutsummaryrefslogtreecommitdiff
path: root/applications
diff options
context:
space:
mode:
authorLedion Daja <ledion.daja@arm.com>2022-08-15 11:49:22 +0200
committerLedion Daja <ledion.daja@arm.com>2022-08-24 13:50:28 +0200
commit05dd24dd63fcd0a2f8d6a0db1a7bf740ee968a00 (patch)
tree6c3665eaba2a7d97503a74acdb297977e932fd68 /applications
parentfc42c71353d15c564558249bd4f13350119ab6a9 (diff)
downloadethos-u-core-platform-05dd24dd63fcd0a2f8d6a0db1a7bf740ee968a00.tar.gz
Skip ThreadX application for NPU configs other than ethos-u55-128
Change-Id: I19a30e3b8a8fc5c0c4db301cf98e61f0b1fb48e8
Diffstat (limited to 'applications')
-rw-r--r--applications/threadx_demo/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/threadx_demo/CMakeLists.txt b/applications/threadx_demo/CMakeLists.txt
index c18d739..dd3ad3a 100644
--- a/applications/threadx_demo/CMakeLists.txt
+++ b/applications/threadx_demo/CMakeLists.txt
@@ -16,8 +16,8 @@
# limitations under the License.
#
-# Exclude this app if ThreadX target does not exist
-if (NOT TARGET threadx OR NOT TARGET ethosu_core_driver)
+# 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")
message("Skipping ThreadX application")
return()
endif()