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',
|
2016-07-25 17:31:08 -03:00
|
|
|
ap_vehicle=vehicle,
|
|
|
|
ap_libraries=bld.ap_common_vehicle_libraries() + [
|
2015-10-09 11:03:59 -03:00
|
|
|
'APM_Control',
|
2016-07-22 04:45:05 -03:00
|
|
|
'AP_AdvancedFailsafe',
|
2015-11-23 09:43:27 -04:00
|
|
|
'AP_ADSB',
|
2016-08-12 16:13:59 -03:00
|
|
|
'AP_Avoidance',
|
2015-10-09 11:03:59 -03:00
|
|
|
'AP_Arming',
|
|
|
|
'AP_Camera',
|
|
|
|
'AP_L1_Control',
|
|
|
|
'AP_Navigation',
|
2015-11-03 17:11:10 -04:00
|
|
|
'AP_Parachute',
|
2015-10-09 11:03:59 -03:00
|
|
|
'AP_RCMapper',
|
|
|
|
'AP_SpdHgtControl',
|
|
|
|
'AP_TECS',
|
2015-12-26 06:40:40 -04:00
|
|
|
'AP_InertialNav',
|
|
|
|
'AC_WPNav',
|
|
|
|
'AC_AttitudeControl',
|
|
|
|
'AP_Motors',
|
2016-06-20 02:34:50 -03:00
|
|
|
'AC_PID',
|
|
|
|
'AC_Fence',
|
2016-08-16 09:22:37 -03:00
|
|
|
'AC_Avoidance',
|
2016-10-25 22:24:41 -03:00
|
|
|
'AP_Proximity',
|
|
|
|
'AP_Stats',
|
2016-11-16 21:05:37 -04:00
|
|
|
'AP_Landing',
|
2016-11-23 02:57:19 -04:00
|
|
|
'AP_Beacon',
|
2017-02-14 15:22:12 -04:00
|
|
|
'PID',
|
2018-02-22 05:13:38 -04:00
|
|
|
'AP_Soaring',
|
2018-03-04 05:41:06 -04:00
|
|
|
'AP_Gripper',
|
|
|
|
'AP_Devo_Telem',
|
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',
|
|
|
|
)
|