ardupilot/ArduPlane/wscript

48 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-10-09 11:03:59 -03:00
#!/usr/bin/env python
# encoding: utf-8
def build(bld):
vehicle = bld.path.name
bld.ap_stlib(
2015-10-09 11:03:59 -03:00
name=vehicle + '_libs',
ap_vehicle=vehicle,
ap_libraries=bld.ap_common_vehicle_libraries() + [
2015-10-09 11:03:59 -03:00
'APM_Control',
'AP_AdvancedFailsafe',
'AP_ADSB',
2015-10-09 11:03:59 -03:00
'AP_Arming',
'AP_Camera',
'AP_Frsky_Telem',
'AP_L1_Control',
'AP_Menu',
'AP_Navigation',
'AP_Parachute',
2015-10-09 11:03:59 -03:00
'AP_RCMapper',
'AP_Relay',
'AP_ServoRelayEvents',
'AP_SpdHgtControl',
'AP_TECS',
'AP_InertialNav',
'AC_WPNav',
'AC_AttitudeControl',
'AP_Motors',
'AC_PID',
'AC_Fence',
'AC_Avoidance'
2015-10-09 11:03:59 -03:00
],
use='mavlink',
2015-10-09 11:03:59 -03:00
)
bld.ap_program(
program_name='arduplane',
program_groups=['bin', 'plane'],
2015-10-09 11:03:59 -03:00
use=vehicle + '_libs',
)
bld.ap_program(
program_name='arduplane-tri',
program_groups=['bin', 'plane'],
use=vehicle + '_libs',
defines=['FRAME_CONFIG=TRI_FRAME'],
)