summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
author朱天龙 (Armink) <[email protected]>2020-06-24 13:48:48 +0800
committerGitHub <[email protected]>2020-06-24 13:48:48 +0800
commitb31822420b32f796919c9d629b1c464cfddeb7ad (patch)
treeab84542a2aa97a9f4db08e001248867e4a5c7bc7 /components/drivers/include/rtdevice.h
parent3408c57d9e55d9a51f333ecdae9fc8a47fd2f88e (diff)
parenta84d5753149f358fbf8dbb3af91f96646cd3b067 (diff)
Merge pull request #3715 from thread-liu/add_stm32mp1_driver
[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