cchange file name drv_iic to drv_i2c

This commit is contained in:
luo jiao 2018-03-08 12:21:06 +08:00
parent 29b4484f36
commit 59f05f68f2
5 changed files with 1126 additions and 1409 deletions

View File

@ -21,7 +21,7 @@ if GetDepend('RT_USING_MTD_NAND'):
# add Ethernet drivers.
if GetDepend('RT_USING_LWIP'):
src += ['drv_eth.c', 'drv_iic.c', 'drv_pcf8574.c']
src += ['drv_eth.c', 'drv_i2c.c', 'drv_pcf8574.c']
# add gpio drivers.
if GetDepend('RT_USING_PIN'):
@ -39,6 +39,10 @@ if GetDepend('RT_USING_SFUD'):
if GetDepend('PKG_USING_GUIENGINE'):
src += ['drv_lcd.c']
# add i2c drivers.
if GetDepend(['RT_USING_I2C']):
src += ['drv_i2c.c']
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -1,5 +1,5 @@
/*
* File : drv_iic.c
* File : drv_i2c.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2017 RT-Thread Develop Team
*
@ -12,7 +12,7 @@
* 2017-06-05 tanek first implementation.
*/
#include "drv_iic.h"
#include "drv_i2c.h"
#include <board.h>
#include <finsh.h>

View File

@ -1,5 +1,5 @@
/*
* File : drv_iic.c
* File : drv_i2c.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2017 RT-Thread Develop Team
*

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff