summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorthread-liu <[email protected]>2020-06-23 10:43:18 +0800
committerthread-liu <[email protected]>2020-06-23 11:26:11 +0800
commit2fcd940b571877df5fab0bdf6f1ad021a8cffe61 (patch)
tree2f7de5fb5d4bb987b812be5b2325353e3b7bcb71 /components/drivers/include/rtdevice.h
parent8c44edf8a2cc89e99e83123622406b948458024e (diff)
[update] add drivers for stm32mp1.
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 623c085430..f54290097c 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -103,6 +103,10 @@ extern "C" {
#include "drivers/adc.h"
#endif
+#ifdef RT_USING_DAC
+#include "drivers/dac.h"
+#endif
+
#ifdef RT_USING_PWM
#include "drivers/rt_drv_pwm.h"
#endif