mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 23:49:00 +08:00
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:
@@ -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
Reference in New Issue
Block a user