diff options
-rw-r--r-- | applications/threadx_demo/CMakeLists.txt | 4 |
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() |