fixed compiling error in at91sam9260

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2182 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
dzzxzz@gmail.com 2012-06-25 04:02:59 +00:00
parent b5ce8cb195
commit 2c45dc2041
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,8 @@ if GetDepend('RT_USING_SDIO'):
if GetDepend('RT_USING_LWIP'): if GetDepend('RT_USING_LWIP'):
src_drv += ['macb.c'] src_drv += ['macb.c']
if GetDepend('RT_USING_I2C') and GetDepend('RT_USING_I2C_BITOPS'):
src_drv += ['at91_i2c_gpio.c']
src = File(src_bsp + src_drv) src = File(src_bsp + src_drv)
CPPPATH = [RTT_ROOT + '/bsp/at91sam9260'] CPPPATH = [RTT_ROOT + '/bsp/at91sam9260']

View File

@ -121,6 +121,9 @@
#define RT_USING_SDIO #define RT_USING_SDIO
#define RT_USING_I2C
#define RT_USING_I2C_BITOPS
#define RT_USING_DBGU #define RT_USING_DBGU
/* #define RT_USING_UART0 */ /* #define RT_USING_UART0 */
/* #define RT_USING_UART1 */ /* #define RT_USING_UART1 */