From d9afc08424cdb71bfad0db597df4246f217cf723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=85strand?= Date: Tue, 6 Oct 2020 13:25:08 +0200 Subject: Remove dependency on cmsis_device The applications doesn't need the cmsis device dependency. Remove it and add the explicit headers that are required to access assembler defines. Change-Id: I959b60e0ca150a75145319df207cfeb6361f0022 --- CMakeLists.txt | 2 +- applications/inference_process/src/inference_process.cc | 2 ++ applications/message_process/src/message_process.cc | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e14fe0..99d829c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,4 +62,4 @@ add_subdirectory(applications) add_subdirectory(drivers) # Merge libraries into static library -target_link_libraries(ethosu_core INTERFACE tflu cmsis_core cmsis_device ethosu_applications ethosu_drivers) +target_link_libraries(ethosu_core INTERFACE tflu cmsis_core ethosu_applications ethosu_drivers) diff --git a/applications/inference_process/src/inference_process.cc b/applications/inference_process/src/inference_process.cc index 9a30029..759617a 100644 --- a/applications/inference_process/src/inference_process.cc +++ b/applications/inference_process/src/inference_process.cc @@ -24,6 +24,8 @@ #include "inference_process.hpp" +#include "cmsis_compiler.h" + #include #ifndef TENSOR_ARENA_SIZE diff --git a/applications/message_process/src/message_process.cc b/applications/message_process/src/message_process.cc index 4533455..5640a1a 100644 --- a/applications/message_process/src/message_process.cc +++ b/applications/message_process/src/message_process.cc @@ -18,6 +18,8 @@ #include +#include "cmsis_compiler.h" + #include #include #include -- cgit v1.2.1