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
This commit is contained in:
dzzxzz@gmail.com
2012-06-01 06:52:34 +00:00
parent b862d16f3f
commit 7fddcb0e35
13 changed files with 1553 additions and 943 deletions
+4
View File
@@ -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