mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
MAVLink: make usage of MAVLink defines more consistent
This commit is contained in:
parent
957d818eb7
commit
5525180814
@ -22,10 +22,10 @@ apm2:
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2"
|
||||
|
||||
apm2-mavlink10:
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=1"
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=ENABLED"
|
||||
|
||||
apm2-mavlink09:
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=0"
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=DISABLED"
|
||||
|
||||
apm2hexa:
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DFRAME_CONFIG=HEXA_FRAME"
|
||||
@ -34,19 +34,19 @@ apm2beta:
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DAPM2_BETA_HARDWARE"
|
||||
|
||||
mavlink10:
|
||||
make -f Makefile EXTRAFLAGS="-DMAVLINK10=1"
|
||||
make -f Makefile EXTRAFLAGS="-DMAVLINK10=ENABLED"
|
||||
|
||||
mavlink09:
|
||||
make -f Makefile EXTRAFLAGS="-DMAVLINK10=0"
|
||||
make -f Makefile EXTRAFLAGS="-DMAVLINK10=DISABLED"
|
||||
|
||||
sitl:
|
||||
make -f ../libraries/Desktop/Makefile.desktop
|
||||
|
||||
sitl-mavlink10:
|
||||
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=1"
|
||||
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=ENABLED"
|
||||
|
||||
sitl-mavlink09:
|
||||
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=0"
|
||||
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=DISABLED"
|
||||
|
||||
sitl-octa:
|
||||
make -f ../libraries/Desktop/Makefile.desktop octa
|
||||
|
@ -28,6 +28,3 @@
|
||||
|
||||
*/
|
||||
|
||||
// use this to enable the new MAVLink 1.0 protocol, instead of the
|
||||
// older 0.9 protocol
|
||||
// #define MAVLINK10 ENABLED
|
||||
|
@ -35,25 +35,25 @@ apm2beta:
|
||||
|
||||
|
||||
apm2-mavlink10:
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=1"
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=ENABLED"
|
||||
|
||||
apm2-mavlink09:
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=0"
|
||||
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=DISABLED"
|
||||
|
||||
mavlink10:
|
||||
make -f Makefile EXTRAFLAGS="-DMAVLINK10=1"
|
||||
make -f Makefile EXTRAFLAGS="-DMAVLINK10=ENABLED"
|
||||
|
||||
mavlink09:
|
||||
make -f Makefile EXTRAFLAGS="-DMAVLINK10=0"
|
||||
make -f Makefile EXTRAFLAGS="-DMAVLINK10=DISABLED"
|
||||
|
||||
sitl:
|
||||
make -f ../libraries/Desktop/Makefile.desktop
|
||||
|
||||
sitl-mavlink10:
|
||||
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=1"
|
||||
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=ENABLED"
|
||||
|
||||
sitl-mavlink09:
|
||||
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=0"
|
||||
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=DISABLED"
|
||||
|
||||
sitl-mount:
|
||||
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMOUNT=ENABLED"
|
||||
|
Loading…
Reference in New Issue
Block a user