commit | d9afc08424cdb71bfad0db597df4246f217cf723 | [log] [tgz] |
---|---|---|
author | Per Åstrand <per.astrand@arm.com> | Tue Oct 06 13:25:08 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Mon Oct 12 10:30:41 2020 +0000 |
tree | 4c00791da0af8797941dd78a31a2370986bb7076 | |
parent | 69c6aa95783c38af580ded1173885d220779b42e [diff] |
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
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e14fe0..99d829c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -62,4 +62,4 @@ 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 <inttypes.h> #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 <message_process.hpp> +#include "cmsis_compiler.h" + #include <cstddef> #include <cstdio> #include <cstring>