mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
63 lines
1.4 KiB
Makefile
63 lines
1.4 KiB
Makefile
include ../libraries/AP_Common/Arduino.mk
|
|
|
|
nologging: EXTRAFLAGS += "-DLOGGING_ENABLED=DISABLED "
|
|
nologging: all
|
|
|
|
nogps: EXTRAFLAGS += "-DGPS_PROTOCOL=GPS_PROTOCOL_NONE "
|
|
nogps: nologging
|
|
|
|
clidisabled-nologging: EXTRAFLAGS += "-DCLI_SLIDER_ENABLED=DISABLED "
|
|
clidisabled-nologging: nologging
|
|
|
|
hil: EXTRAFLAGS += "-DHIL_MODE=HIL_MODE_ATTITUDE "
|
|
hil: nologging
|
|
|
|
apm1-hil: HAL_BOARD = "HAL_BOARD_APM1"
|
|
apm1-hil: hil
|
|
|
|
apm2-hil: HAL_BOARD="HAL_BOARD_APM2"
|
|
apm2-hil: hil
|
|
|
|
hilsensors: EXTRAFLAGS += "-DHIL_MODE=HIL_MODE_SENSORS "
|
|
hilsensors: clidisabled-nologging
|
|
|
|
apm1-hilsensors: HAL_BOARD = "HAL_BOARD_APM1"
|
|
apm1-hilsensors: hilsensors
|
|
|
|
apm2-hilsensors: HAL_BOARD = "HAL_BOARD_APM2"
|
|
apm2-hilsensors: hilsensors
|
|
|
|
heli: EXTRAFLAGS += "-DFRAME_CONFIG=HELI_FRAME "
|
|
heli: all
|
|
|
|
apm1: HAL_BOARD = "HAL_BOARD_APM1"
|
|
apm1: all
|
|
|
|
apm2: HAL_BOARD="HAL_BOARD_APM2"
|
|
apm2: all
|
|
|
|
dmp: EXTRAFLAGS += "-DDMP_ENABLED=ENABLED"
|
|
dmp: apm2
|
|
|
|
apm2hexa: EXTRAFLAGS += "-DFRAME_CONFIG=HEXA_FRAME "
|
|
apm2hexa: apm2
|
|
|
|
apm2beta: EXTRAFLAGS += "-DAPM2_BETA_HARDWARE "
|
|
apm2beta: apm2
|
|
|
|
sitl: HAL_BOARD = "HAL_BOARD_AVR_SITL"
|
|
sitl: all
|
|
|
|
sitl-octa: EXTRAFLAGS += "-DFRAME_CONFIG=OCTA_FRAME "
|
|
sitl-octa: sitl
|
|
|
|
sitl-hexa: EXTRAFLAGS += "-DFRAME_CONFIG=HEXA_FRAME "
|
|
sitl-hexa: sitl
|
|
|
|
sitl-y6: EXTRAFLAGS += "-DFRAME_CONFIG=OCTA_FRAME "
|
|
sitl-y6: sitl
|
|
|
|
etags:
|
|
cd .. && etags -f ArduCopter/TAGS --langmap=C++:.pde.cpp.h $$(git ls-files ArduCopter libraries)
|
|
|