From 05dd24dd63fcd0a2f8d6a0db1a7bf740ee968a00 Mon Sep 17 00:00:00 2001 From: Ledion Daja Date: Mon, 15 Aug 2022 11:49:22 +0200 Subject: Skip ThreadX application for NPU configs other than ethos-u55-128 Change-Id: I19a30e3b8a8fc5c0c4db301cf98e61f0b1fb48e8 --- applications/threadx_demo/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications') 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() -- cgit v1.2.1