From 52fddd00d0eb547d41074046c9f587a3a0679298 Mon Sep 17 00:00:00 2001 From: Lior Dekel Date: Mon, 4 Oct 2021 19:15:24 +0300 Subject: NPU configuration support update in relevant apps. Bare metal app - added all the configurations for the different NPUs. FreeRTOS app and driver_unit_conv test - excluded all NPU configurations except ethos-u55-128. Change-Id: I6f69526613cd18c572af1186e5997816fad246b4 --- applications/driver_unit_tests/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'applications/driver_unit_tests/CMakeLists.txt') diff --git a/applications/driver_unit_tests/CMakeLists.txt b/applications/driver_unit_tests/CMakeLists.txt index b679358..45c733b 100644 --- a/applications/driver_unit_tests/CMakeLists.txt +++ b/applications/driver_unit_tests/CMakeLists.txt @@ -25,6 +25,12 @@ ethosu_add_executable_test(driver_unit_irq PRIVATE SOURCES irq.cpp LIBRARIES driver_unit) +# Exclude driver_unit_conv if NPU configuration is not H128 +if (NOT ETHOSU_TARGET_NPU_CONFIG STREQUAL "ethos-u55-128") + message("Skipping driver_unit_conv application") + return() +endif() + ethosu_add_executable_test(driver_unit_conv PRIVATE SOURCES conv.cpp LIBRARIES driver_unit) -- cgit v1.2.1