2012-12-18 14:54:22 -04:00
|
|
|
include ../mk/Arduino.mk
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2012-12-13 21:34:26 -04:00
|
|
|
nologging: EXTRAFLAGS += "-DLOGGING_ENABLED=DISABLED "
|
2012-12-13 20:32:39 -04:00
|
|
|
nologging: all
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2012-12-13 20:32:39 -04:00
|
|
|
nogps: EXTRAFLAGS += "-DGPS_PROTOCOL=GPS_PROTOCOL_NONE "
|
|
|
|
nogps: nologging
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2012-12-13 20:32:39 -04:00
|
|
|
clidisabled-nologging: EXTRAFLAGS += "-DCLI_SLIDER_ENABLED=DISABLED "
|
|
|
|
clidisabled-nologging: nologging
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2012-12-13 20:32:39 -04:00
|
|
|
hil: EXTRAFLAGS += "-DHIL_MODE=HIL_MODE_ATTITUDE "
|
2012-12-17 19:32:54 -04:00
|
|
|
hil: EXTRAFLAGS += "-DLOGGING_ENABLED=DISABLED "
|
2011-11-13 02:16:00 -04:00
|
|
|
|
2012-12-17 19:32:54 -04:00
|
|
|
apm1-hil: EXTRAFLAGS += "-DHIL_MODE=HIL_MODE_ATTITUDE "
|
|
|
|
apm1-hil: EXTRAFLAGS += "-DLOGGING_ENABLED=DISABLED "
|
|
|
|
apm1-hil: apm1
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2012-12-17 19:32:54 -04:00
|
|
|
apm2-hil: EXTRAFLAGS += "-DHIL_MODE=HIL_MODE_ATTITUDE "
|
|
|
|
apm2-hil: EXTRAFLAGS += "-DLOGGING_ENABLED=DISABLED "
|
|
|
|
apm2-hil: apm2
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2012-12-17 19:32:54 -04:00
|
|
|
apm1-hilsensors: EXTRAFLAGS += "-DHIL_MODE=HIL_MODE_SENSORS "
|
|
|
|
apm1-hilsensors: EXTRAFLAGS += "-DCLI_SLIDER_ENABLED=DISABLED "
|
|
|
|
apm1-hilsensors: EXTRAFLAGS += "-DLOGGING_ENABLED=DISABLED "
|
|
|
|
apm1-hilsensors: apm1
|
2012-12-13 19:27:42 -04:00
|
|
|
|
2012-12-17 19:32:54 -04:00
|
|
|
apm2-hilsensors: EXTRAFLAGS += "-DHIL_MODE=HIL_MODE_SENSORS "
|
|
|
|
apm2-hilsensors: EXTRAFLAGS += "-DCLI_SLIDER_ENABLED=DISABLED "
|
|
|
|
apm2-hilsensors: EXTRAFLAGS += "-DLOGGING_ENABLED=DISABLED "
|
|
|
|
apm2-hilsensors: apm2
|
2012-08-21 02:58:59 -03:00
|
|
|
|
2012-12-13 20:32:39 -04:00
|
|
|
heli: EXTRAFLAGS += "-DFRAME_CONFIG=HELI_FRAME "
|
|
|
|
heli: all
|
2012-02-11 20:05:11 -04:00
|
|
|
|
2012-12-13 20:32:39 -04:00
|
|
|
dmp: EXTRAFLAGS += "-DDMP_ENABLED=ENABLED"
|
|
|
|
dmp: apm2
|
|
|
|
|
|
|
|
apm2hexa: EXTRAFLAGS += "-DFRAME_CONFIG=HEXA_FRAME "
|
|
|
|
apm2hexa: apm2
|
|
|
|
|
|
|
|
apm2beta: EXTRAFLAGS += "-DAPM2_BETA_HARDWARE "
|
|
|
|
apm2beta: apm2
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2012-12-13 21:34:26 -04:00
|
|
|
sitl-octa: EXTRAFLAGS += "-DFRAME_CONFIG=OCTA_FRAME "
|
|
|
|
sitl-octa: sitl
|
2012-01-04 06:45:46 -04:00
|
|
|
|
2012-12-13 21:34:26 -04:00
|
|
|
sitl-hexa: EXTRAFLAGS += "-DFRAME_CONFIG=HEXA_FRAME "
|
|
|
|
sitl-hexa: sitl
|
2012-01-04 06:45:46 -04:00
|
|
|
|
2012-12-13 21:34:26 -04:00
|
|
|
sitl-y6: EXTRAFLAGS += "-DFRAME_CONFIG=OCTA_FRAME "
|
|
|
|
sitl-y6: sitl
|
2012-01-04 06:45:46 -04:00
|
|
|
|
2011-11-12 23:32:00 -04:00
|
|
|
etags:
|
|
|
|
cd .. && etags -f ArduCopter/TAGS --langmap=C++:.pde.cpp.h $$(git ls-files ArduCopter libraries)
|
2011-12-11 00:30:06 -04:00
|
|
|
|