aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mpu/src/mpu.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/mpu/src/mpu.cpp b/drivers/mpu/src/mpu.cpp
index 3f9e62a..7d767ac 100644
--- a/drivers/mpu/src/mpu.cpp
+++ b/drivers/mpu/src/mpu.cpp
@@ -1,6 +1,5 @@
/*
- * SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
- *
+ * SPDX-FileCopyrightText: Copyright 2020-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
@@ -22,7 +21,12 @@
#include <mpu.hpp>
+#if CMSIS_VER == 6
+#include <m-profile/armv7m_cachel1.h>
+#else
#include <cachel1_armv7.h>
+#endif
+
#include <inttypes.h>
#include <stdio.h>