2015-10-09 11:03:59 -03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
vehicle = bld.path.name
|
2016-01-21 10:04:51 -04:00
|
|
|
bld.ap_stlib(
|
2015-10-09 11:03:59 -03:00
|
|
|
name=vehicle + '_libs',
|
|
|
|
vehicle=vehicle,
|
2016-01-22 17:00:13 -04:00
|
|
|
libraries=bld.ap_common_vehicle_libraries() + [
|
2015-10-09 11:03:59 -03:00
|
|
|
'APM_Control',
|
|
|
|
'APM_OBC',
|
2015-11-23 09:43:27 -04:00
|
|
|
'AP_ADSB',
|
2015-10-09 11:03:59 -03:00
|
|
|
'AP_Arming',
|
|
|
|
'AP_Camera',
|
|
|
|
'AP_Frsky_Telem',
|
|
|
|
'AP_L1_Control',
|
|
|
|
'AP_Menu',
|
|
|
|
'AP_Mount',
|
|
|
|
'AP_Navigation',
|
2015-11-03 17:11:10 -04:00
|
|
|
'AP_Parachute',
|
2015-10-09 11:03:59 -03:00
|
|
|
'AP_RCMapper',
|
|
|
|
'AP_RPM',
|
|
|
|
'AP_RSSI',
|
|
|
|
'AP_Relay',
|
|
|
|
'AP_ServoRelayEvents',
|
|
|
|
'AP_SpdHgtControl',
|
|
|
|
'AP_TECS',
|
2015-12-26 06:40:40 -04:00
|
|
|
'AP_InertialNav',
|
|
|
|
'AC_WPNav',
|
|
|
|
'AC_AttitudeControl',
|
|
|
|
'AP_Motors',
|
|
|
|
'AC_PID'
|
2015-10-09 11:03:59 -03:00
|
|
|
],
|
2016-01-13 16:35:37 -04:00
|
|
|
use='mavlink',
|
2015-10-09 11:03:59 -03:00
|
|
|
)
|
|
|
|
|
2016-01-21 10:04:51 -04:00
|
|
|
bld.ap_program(
|
2016-01-17 23:42:52 -04:00
|
|
|
program_name='arduplane',
|
2016-03-24 17:07:13 -03:00
|
|
|
program_groups=['bin', 'plane'],
|
2015-10-09 11:03:59 -03:00
|
|
|
use=vehicle + '_libs',
|
|
|
|
)
|