aboutsummaryrefslogtreecommitdiff
path: root/src/modules/px4iofirmware/module.mk
blob: 016be6d3b6f9e4fa269bd73a2f824d0592516875 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SRCS		= adc.c \
		  controls.c \
		  dsm.c \
		  px4io.c \
		  registers.c \
		  safety.c \
		  sbus.c \
		  ../systemlib/up_cxxinitialize.c \
		  ../systemlib/hx_stream.c \
		  ../systemlib/perf_counter.c \
		  mixer.cpp \
		  ../systemlib/mixer/mixer.cpp \
		  ../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