cchange file name drv_iic to drv_i2c
This commit is contained in:
parent
29b4484f36
commit
59f05f68f2
|
@ -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)
|
||||
|
|
|
@ -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>
|
|
@ -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
Loading…
Reference in New Issue