summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-06-01 06:52:34 +0000
committer[email protected] <[email protected]>2012-06-01 06:52:34 +0000
commit7fddcb0e355a572504181d3e04943acebd5e4fae (patch)
tree0bffee169df568742212508933e0f3921af1371b /components/drivers/include/rtdevice.h
parentb862d16f3fc1baa5a6530012953caf13d6571509 (diff)
add serial device driver framework
and implement the example in MB9BF506R branch git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2145 bbd45198-f89e-11dd-88c7-29a3b14d5316
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 259f935279..2b4b7b9ec4 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -63,4 +63,8 @@ rt_size_t rt_ringbuffer_emptry_size(struct rt_ringbuffer* rb);
#include "drivers/usb_host.h"
#endif
+#ifdef RT_USING_SERIAL
+#include "drivers/serial.h"
+#endif
+
#endif