From f44f8b2cf03a537da13698dba1fe09c2e0251352 Mon Sep 17 00:00:00 2001 From: Mikael Olsson Date: Wed, 24 Jan 2024 13:33:34 +0100 Subject: 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 --- applications/threadx_demo/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.1