Frame up the configuration for the serial interface on IOv2

This commit is contained in:
px4dev
2013-04-28 13:51:33 -07:00
parent 2423c54e0e
commit 8f7200e011
2 changed files with 14 additions and 10 deletions
+9 -2
View File
@@ -3,7 +3,6 @@
SRCS = adc.c \
controls.c \
dsm.c \
i2c.c \
px4io.c \
registers.c \
safety.c \
@@ -16,4 +15,12 @@ SRCS = adc.c \
../systemlib/mixer/mixer_group.cpp \
../systemlib/mixer/mixer_multirotor.cpp \
../systemlib/mixer/mixer_simple.cpp \
ifneq ($(CONFIG_ARCH_BOARD_PX4IO),)
SRCS += i2c.c
EXTRADEFINES += -DINTERFACE_I2C
endif
ifneq ($(CONFIG_ARCH_BOARD_PX4IOV2),)
#SRCS += serial.c
EXTRADEFINES += -DINTERFACE_SERIAL
endif