summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-09 20:25:52 +0800
committerR b b666 <[email protected]>2025-12-10 17:04:23 +0800
commit22a77f2694dae2a675e27c7bf482960c86ba303e (patch)
tree95864f6aa4be9929b056b75decb4308a538e6234 /components/drivers/include/rtdevice.h
parente465ec567d2df14f7754cd04d66fd629d2addea6 (diff)
[dm][nvmem] support nvmem
Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES... 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 9f427c49c4..88a388b6f0 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -125,6 +125,10 @@ extern "C" {
#ifdef RT_USING_THERMAL
#include "drivers/thermal.h"
#endif /* RT_USING_THERMAL */
+
+#ifdef RT_USING_NVMEM
+#include "drivers/nvmem.h"
+#endif /* RT_USING_NVMEM */
#endif /* RT_USING_DM */
#ifdef RT_USING_RTC