summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-06-13 16:55:46 +0000
committer[email protected] <[email protected]>2012-06-13 16:55:46 +0000
commit85169d7fe8850c2a299c135c0417b567ebdf03c6 (patch)
treee9b3c17241149ec7a1c76aba906caf2f416c41e7 /components/drivers/include/rtdevice.h
parentc9250dc32c087539eaf2b96396d734c58a26a264 (diff)
update I2C driver, which now just use small memory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2159 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 2b4b7b9ec4..77dbddd9ae 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -67,4 +67,13 @@ rt_size_t rt_ringbuffer_emptry_size(struct rt_ringbuffer* rb);
#include "drivers/serial.h"
#endif
+#ifdef RT_USING_I2C
+#include "drivers/i2c.h"
+#include "drivers/i2c_dev.h"
+#endif
+
+#ifdef RT_USING_I2C_BITOPS
+#include "drivers/i2c-bit-ops.h"
+#endif
+
#endif