mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 03:53:33 +08:00
Frame up the configuration for the serial interface on IOv2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user