aboutsummaryrefslogtreecommitdiff
path: root/applications/freertos
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2021-11-24 14:16:34 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-11-25 15:31:56 +0100
commit15625f17e4c5f71be970cda8bf918cc00e613cad (patch)
treed37a09a9c6ecd879a9b39fb8f3126134b23e9d79 /applications/freertos
parente07dda6a06e66b055e9302d8c35233ff87e3e934 (diff)
downloadethos-u-core-platform-15625f17e4c5f71be970cda8bf918cc00e613cad.tar.gz
Exclude applications that depend on NPU
Exclude applications that depend on the NPU, if the NPU driver library was not compiled by the project. Change-Id: I3fcb570cf155d589a9576266332ba519a11186f1
Diffstat (limited to 'applications/freertos')
-rw-r--r--applications/freertos/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/freertos/CMakeLists.txt b/applications/freertos/CMakeLists.txt
index 8be3b3a..610f0e5 100644
--- a/applications/freertos/CMakeLists.txt
+++ b/applications/freertos/CMakeLists.txt
@@ -17,7 +17,7 @@
#
# Exclude this app if freertos target does not exist or if NPU configuration is not H128
-if (NOT TARGET freertos_kernel OR NOT ETHOSU_TARGET_NPU_CONFIG STREQUAL "ethos-u55-128")
+if (NOT TARGET freertos_kernel OR NOT TARGET ethosu_core_driver OR NOT ETHOSU_TARGET_NPU_CONFIG STREQUAL "ethos-u55-128")
message("Skipping FreeRTOS application")
return()
endif()