diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-11-24 14:16:34 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-11-25 15:31:56 +0100 |
commit | 15625f17e4c5f71be970cda8bf918cc00e613cad (patch) | |
tree | d37a09a9c6ecd879a9b39fb8f3126134b23e9d79 /applications/baremetal/main.cpp | |
parent | e07dda6a06e66b055e9302d8c35233ff87e3e934 (diff) | |
download | ethos-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/baremetal/main.cpp')
-rw-r--r-- | applications/baremetal/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/baremetal/main.cpp b/applications/baremetal/main.cpp index e394e3a..ea5f03c 100644 --- a/applications/baremetal/main.cpp +++ b/applications/baremetal/main.cpp @@ -20,10 +20,9 @@ * Includes ****************************************************************************/ -// NPU driver -#include "ethosu_driver.h" // Inference process #include "inference_process.hpp" + // System includes #include <stdio.h> #include <vector> @@ -34,6 +33,7 @@ #include "output.h" #ifdef ETHOSU +#include <ethosu_driver.h> #include <ethosu_monitor.hpp> #include <pmu_ethosu.h> #endif |