aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Åstrand <per.astrand@arm.com>2020-10-06 13:25:08 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2020-10-12 10:30:41 +0000
commitd9afc08424cdb71bfad0db597df4246f217cf723 (patch)
tree4c00791da0af8797941dd78a31a2370986bb7076
parent69c6aa95783c38af580ded1173885d220779b42e (diff)
downloadethos-u-core-software-d9afc08424cdb71bfad0db597df4246f217cf723.tar.gz
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
-rw-r--r--CMakeLists.txt2
-rw-r--r--applications/inference_process/src/inference_process.cc2
-rw-r--r--applications/message_process/src/message_process.cc2
3 files changed, 5 insertions, 1 deletions
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 <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>