aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Olsson <mikael.olsson@arm.com>2024-02-12 13:14:18 +0100
committerMikael Olsson <mikael.olsson@arm.com>2024-02-12 15:10:42 +0100
commit34b190bf804639805fb958c637c365dd831916b7 (patch)
tree18ec0063304f64fc7e71c4c6d5bd9de14555c79c
parent7d55dc16fe1257e3c4f3bccc56f146c8991499f0 (diff)
downloadethos-u-core-platform-34b190bf804639805fb958c637c365dd831916b7.tar.gz
Update kernel rpmsg header path in message handler
The source files for the Linux kernel driver has been restructured and the common rpmsg header file has been renamed and moved to an include folder. The message handler openamp application has been updated accordingly to use the new header file. Change-Id: If1c4f5f80dbd87ee1b14103620b1183f6a3e3826 Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
-rw-r--r--applications/message_handler_openamp/CMakeLists.txt4
-rw-r--r--applications/message_handler_openamp/message_handler.hpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/applications/message_handler_openamp/CMakeLists.txt b/applications/message_handler_openamp/CMakeLists.txt
index 00e7995..f60e376 100644
--- a/applications/message_handler_openamp/CMakeLists.txt
+++ b/applications/message_handler_openamp/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
+# SPDX-FileCopyrightText: Copyright 2022-2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
@@ -66,7 +66,7 @@ ethosu_add_executable(message_handler_openamp
openamp-freertos)
target_include_directories(message_handler_openamp PRIVATE
- ${LINUX_DRIVER_STACK_PATH}/kernel)
+ ${LINUX_DRIVER_STACK_PATH}/kernel/include)
target_compile_definitions(message_handler_openamp PRIVATE
$<$<BOOL:${ENABLE_REMOTEPROC_TRACE_BUFFER}>:REMOTEPROC_TRACE_BUFFER>
diff --git a/applications/message_handler_openamp/message_handler.hpp b/applications/message_handler_openamp/message_handler.hpp
index 86b7c4d..9461569 100644
--- a/applications/message_handler_openamp/message_handler.hpp
+++ b/applications/message_handler_openamp/message_handler.hpp
@@ -1,5 +1,5 @@
/*
- * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
+ * SPDX-FileCopyrightText: Copyright 2022-2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
@@ -21,8 +21,8 @@
* Includes
*****************************************************************************/
-#include <ethosu_core_rpmsg.h>
#include <mailbox.hpp>
+#include <rpmsg/ethosu_rpmsg.h>
#include "queue.hpp"
#include "remoteproc.hpp"