summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGUI <[email protected]>2025-12-13 16:32:25 +0800
committerGitHub <[email protected]>2025-12-13 16:32:25 +0800
commitd8709ba9fb65bb444f0494c243b9a4dcc08f337c (patch)
treeda50ba4e60918532a08d46497a4138dbe79c2348 /components/drivers/include/rtdevice.h
parentaf0e513bef194b591b6e40e0b39fad1a3009d858 (diff)
[dm][hwcache] support hwcache (#11049)
Some ARCH not has std cache ops, such as RISC-V Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index d55a41f30b..89af4b933c 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -130,6 +130,10 @@ extern "C" {
#include "drivers/thermal.h"
#endif /* RT_USING_THERMAL */
+#ifdef RT_USING_HWCACHE
+#include "drivers/hwcache.h"
+#endif /* RT_USING_HWCACHE */
+
#ifdef RT_USING_NVMEM
#include "drivers/nvmem.h"
#endif /* RT_USING_NVMEM */