Skip ThreadX application for NPU configs other than ethos-u55-128

Change-Id: I19a30e3b8a8fc5c0c4db301cf98e61f0b1fb48e8
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()