2011-09-30 08:16:48 -03:00
|
|
|
include ../libraries/AP_Common/Arduino.mk
|
2011-11-12 23:32:00 -04:00
|
|
|
|
|
|
|
nologging:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DLOGGING_ENABLED=DISABLED"
|
|
|
|
|
|
|
|
nogps:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DGPS_PROTOCOL=GPS_PROTOCOL_NONE -DLOGGING_ENABLED=DISABLED"
|
|
|
|
|
|
|
|
hil:
|
2012-12-03 20:13:33 -04:00
|
|
|
make -f Makefile EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE"
|
|
|
|
|
|
|
|
hil-apm2:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE -DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2"
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2011-11-13 02:16:00 -04:00
|
|
|
hilsensors:
|
2012-12-03 20:13:33 -04:00
|
|
|
make -f Makefile EXTRAFLAGS="-DHIL_MODE=HIL_MODE_SENSORS"
|
2011-11-13 02:16:00 -04:00
|
|
|
|
2012-12-03 18:05:02 -04:00
|
|
|
hilsensors-apm2:
|
2012-12-03 20:13:33 -04:00
|
|
|
make -f Makefile EXTRAFLAGS="-DHIL_MODE=HIL_MODE_SENSORS -DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2"
|
2012-12-03 18:05:02 -04:00
|
|
|
|
2011-11-12 23:32:00 -04:00
|
|
|
hilnocli:
|
2012-12-03 20:13:33 -04:00
|
|
|
make -f Makefile EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE -DCLI_ENABLED=DISABLED"
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2012-05-18 09:31:39 -03:00
|
|
|
nocli:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DCLI_ENABLED=DISABLED -DLOGGING_ENABLED=DISABLED"
|
|
|
|
|
|
|
|
ublox:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DGPS_PROTOCOL=GPS_PROTOCOL_UBLOX"
|
|
|
|
|
2012-09-07 23:43:36 -03:00
|
|
|
mtk:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DGPS_PROTOCOL=GPS_PROTOCOL_MTK"
|
|
|
|
|
|
|
|
mtk16:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DGPS_PROTOCOL=GPS_PROTOCOL_MTK16"
|
|
|
|
|
2011-11-12 23:32:00 -04:00
|
|
|
heli:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DFRAME_CONFIG=HELI_FRAME"
|
|
|
|
|
2011-11-25 19:11:36 -04:00
|
|
|
apm2:
|
2011-11-26 21:14:31 -04:00
|
|
|
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2"
|
2011-11-12 23:32:00 -04:00
|
|
|
|
2012-05-03 21:39:44 -03:00
|
|
|
apm2-uart2:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DTELEMETRY_UART2=ENABLED"
|
|
|
|
|
2011-11-27 02:09:14 -04:00
|
|
|
apm2beta:
|
|
|
|
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DAPM2_BETA_HARDWARE"
|
|
|
|
|
2012-04-27 00:32:22 -03:00
|
|
|
|
2011-12-11 00:30:06 -04:00
|
|
|
sitl:
|
|
|
|
make -f ../libraries/Desktop/Makefile.desktop
|
|
|
|
|
2012-04-23 21:46:22 -03:00
|
|
|
sitl-mount:
|
|
|
|
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMOUNT=ENABLED"
|
|
|
|
|
2011-11-12 23:32:00 -04:00
|
|
|
etags:
|
|
|
|
cd .. && etags -f ArduPlane/TAGS --langmap=C++:.pde.cpp.h $$(git ls-files ArduPlane libraries)
|
2011-12-11 00:30:06 -04:00
|
|
|
|
2012-07-08 22:49:26 -03:00
|
|
|
obc:
|
2012-08-31 04:40:35 -03:00
|
|
|
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DOBC_FAILSAFE=ENABLED -DTELEMETRY_UART2=ENABLED -DSERIAL_BUFSIZE=512"
|
2012-07-08 22:49:26 -03:00
|
|
|
|
|
|
|
obc-sitl:
|
2012-08-31 04:40:35 -03:00
|
|
|
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DOBC_FAILSAFE=ENABLED -DSERIAL_BUFSIZE=512"
|
2012-08-21 23:34:40 -03:00
|
|
|
|
|
|
|
sitl-newcontrollers:
|
|
|
|
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DAPM_CONTROL=ENABLED"
|
2012-09-07 23:43:36 -03:00
|
|
|
|