ardupilot/ArduPlane/Makefile

78 lines
1.9 KiB
Makefile

include ../libraries/AP_Common/Arduino.mk
nologging: EXTRAFLAGS += "DLOGGING_ENABLED=DISABLED "
nologging: all
nogps: EXTRAFLAGS += "-DGPS_PROTOCOL=GPS_PROTOCOL_NONE "
nogps: all
hil: EXTRAFLAGS += "-DHIL_MODE=HIL_MODE_ATTITUDE "
hil: all
hil-apm2: HAL_BOARD = "HAL_BOARD_APM2"
hil-apm2: hil
hil-apm1: HAL_BOARD = "HAL_BOARD_APM1"
hil-apm1: hil
hil-apm2-nologging: EXTRAFLAGS += "DLOGGING_ENABLED=DISABLED "
hil-apm2-nologging: hil-apm2
hilsensors: EXTRAFLAGS += "-DHIL_MODE=HIL_MODE_SENSORS "
hilsensors: all
hilsensors-apm2: HAL_BOARD = "HAL_BOARD_APM2"
hilsensors-apm2: hilsensors
hilsensors-apm1: HAL_BOARD = "HAL_BOARD_APM1"
hilsensors-apm1: hilsensors
hilsensors-apm2-nologging: EXTRAFLAGS += "DLOGGING_ENABLED=DISABLED "
hilsensors-apm2-nologging: hilsensors-apm2
hilnocli: EXTRAFLAGS += "-DCLI_ENABLED=DISABLED "
hilnocli: hil
nocli: EXTRAFLAGS +="-DCLI_ENABLED=DISABLED "
nocli: nologging
ublox: EXTRAFLAGS += "-DGPS_PROTOCOL=GPS_PROTOCOL_UBLOX "
ublox: all
mtk: EXTRAFLAGS += "-DGPS_PROTOCOL=GPS_PROTOCOL_MTK "
mtk: all
mtk16: EXTRAFLAGS += "-DGPS_PROTOCOL=GPS_PROTOCOL_MTK16 "
mtk16: all
heli: EXTRAFLAGS += "-DFRAME_CONFIG=HELI_FRAME "
heli: all
apm2-nologging: HAL_BOARD = "HAL_BOARD_APM2"
apm2-nologging: nologging
apm2-uart2: EXTRAFLAGS += "-DTELEMETRY_UART2=ENABLED "
apm2-uart2: apm2
apm2beta: EXTRAFLAGS += "-DAPM2_BETA_HARDWARE "
apm2beta: apm2
sitl-mount: EXTRAFLAGS += "-DMOUNT=ENABLED"
sitl-mount: sitl
obc: EXTRAFLAGS += "-DOBC_FAILSAFE=ENABLED "
obc: EXTRAFLAGS += "-DTELEMETRY_UART2=ENABLED "
obc: EXTRAFLAGS += "-DSERIAL_BUFSIZE=512 "
obc: apm2
obc-sitl: EXTRAFLAGS += "-DOBC_FAILSAFE=ENABLED "
obc-sitl: EXTRAFLAGS += "-DSERIAL_BUFSIZE=512 "
obc-sitl: sitl
sitl-newcontrollers: EXTRAFLAGS += "-DAPM_CONTROL=ENABLED "
sitl-newcontrollers: sitl
etags:
cd .. && etags -f ArduPlane/TAGS --langmap=C++:.pde.cpp.h $$(git ls-files ArduPlane libraries)