summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorguo <[email protected]>2023-07-06 16:52:30 +0800
committerGitHub <[email protected]>2023-07-06 16:52:30 +0800
commit78867912c114966d49e003db2ffb3407a5017b46 (patch)
treee8b34c99bbf57feb4e1e976993d01ef6f9d3fd13 /components/drivers/include/rtdevice.h
parentc7be260665c9c753b343141968755d47deadd753 (diff)
parentfa10a99c3ccecd6113d30842a05e1b853cf7d1cb (diff)
Merge pull request #7788 from ErikChanHub/master
【dd2.0】Support Open Firmware API
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index afce028b0e..06e5c7158a 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -169,6 +169,22 @@ extern "C" {
#include "drivers/lcd.h"
#endif
+#ifdef RT_USING_DM
+#include "drivers/core/rtdm.h"
+
+#ifdef RT_USING_OFW
+#include "drivers/ofw.h"
+#include "drivers/ofw_fdt.h"
+#include "drivers/ofw_io.h"
+#include "drivers/ofw_irq.h"
+#include "drivers/ofw_raw.h"
+#endif /* RT_USING_OFW */
+
+#ifdef RT_USING_PIC
+#include "drivers/pic.h"
+#endif
+#endif /* RT_USING_DM */
+
#ifdef __cplusplus
}
#endif