Moved old i2c implementations into obsolete subdirectory for reference, made christophe's driver the main driver as this is currently the only one ported to libopencm3. ;)

This commit is contained in:
Piotr Esden-Tempski
2012-02-24 19:34:16 -08:00
parent 13cd9362e7
commit 23c2f05e52
6 changed files with 1917 additions and 1918 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ test_baro.CFLAGS += -I$(SRC_LISA) -I$(SRC_BOARD)
test_baro.srcs += $(SRC_BOARD)/test_baro.c
test_baro.srcs += $(SRC_BOARD)/baro_board.c
test_baro.CFLAGS += -DUSE_I2C2
test_baro.srcs += mcu_periph/i2c.c $(SRC_ARCH)/mcu_periph/i2c_arch.rewritten.c
test_baro.srcs += mcu_periph/i2c.c $(SRC_ARCH)/mcu_periph/i2c_arch.c
#
@@ -4,8 +4,7 @@
$(TARGET).srcs += mcu_periph/i2c.c
ifeq ($(ARCH), stm32)
#$(TARGET).srcs += $(SRC_ARCH)/mcu_periph/i2c_arch.c
$(TARGET).srcs += $(SRC_ARCH)/mcu_periph/i2c_arch.rewritten.c
$(TARGET).srcs += $(SRC_ARCH)/mcu_periph/i2c_arch.c
else
$(TARGET).srcs += $(SRC_ARCH)/mcu_periph/i2c_arch.c
endif
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff