Merge pull request #1266 from jiaooo/dev

change file name drv_iic to drv_i2c
This commit is contained in:
Bernard Xiong 2018-03-11 14:39:46 +08:00 committed by GitHub
commit 03b8015413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1127 additions and 1410 deletions

View File

@ -21,7 +21,11 @@ if GetDepend('RT_USING_MTD_NAND'):
# add Ethernet drivers. # add Ethernet drivers.
if GetDepend('RT_USING_LWIP'): if GetDepend('RT_USING_LWIP'):
src += ['drv_eth.c', 'drv_iic.c', 'drv_pcf8574.c'] src += ['drv_eth.c', 'drv_pcf8574.c']
# add i2c drivers.
if GetDepend(['RT_USING_I2C']) or GetDepend('RT_USING_LWIP'):
src += ['drv_i2c.c']
# add gpio drivers. # add gpio drivers.
if GetDepend('RT_USING_PIN'): if GetDepend('RT_USING_PIN'):

View File

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