Browse Source

Moved I2C to stm32 common.

pull/2/head
Fergus Noble 13 years ago
parent
commit
318deef8cb
  1. 0
      lib/stm32_common/i2c.c
  2. 2
      lib/stm32f2/Makefile

0
lib/stm32f1/i2c.c → lib/stm32_common/i2c.c

2
lib/stm32f2/Makefile

@ -28,7 +28,7 @@ CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \
-ffunction-sections -fdata-sections -MD -DSTM32F2 -ffunction-sections -fdata-sections -MD -DSTM32F2
# ARFLAGS = rcsv # ARFLAGS = rcsv
ARFLAGS = rcs ARFLAGS = rcs
OBJS = vector.o gpio.o systick.o OBJS = vector.o gpio.o systick.o i2c.o
#VPATH += ../usb #VPATH += ../usb
VPATH += ../stm32_common VPATH += ../stm32_common

Loading…
Cancel
Save