i2c copy, right include

This commit is contained in:
pkolesnikov 2016-05-23 15:59:24 +02:00
parent 7630b9db5d
commit eb9cfd1255
3 changed files with 4 additions and 5 deletions

View File

@ -114,7 +114,7 @@ endif
CHIP_ASRCS =
CHIP_CSRCS = stm32_allocateheap.c stm32_exti_gpio.c stm32_gpio.c
CHIP_CSRCS += stm32_irq.c stm32_lowputc.c stm32_rcc.c stm32_serial.c
CHIP_CSRCS += stm32_start.c
CHIP_CSRCS += stm32_i2c.c stm32_start.c
ifneq ($(CONFIG_SCHED_TICKLESS),y)
CHIP_CSRCS += stm32_timerisr.c

View File

@ -96,9 +96,8 @@
#include "up_arch.h"
#include "stm32f7_rcc.h"
#include "stm32f7_i2c.h"
#include "stm32f7_waste.h"
#include "stm32_rcc.h"
#include "stm32_i2c.h"
/* At least one I2C peripheral must be enabled */

View File

@ -44,7 +44,7 @@
#include <nuttx/i2c/i2c_master.h>
#include "chip.h"
#include "chip/stm32f7_i2c.h"
#include "chip/stm32_i2c.h"
/****************************************************************************
* Pre-processor Definitions