2015-12-30 18:57:56 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
vehicle = bld.path.name
|
2016-02-15 18:48:31 -04:00
|
|
|
bld.ap_stlib(
|
2015-12-30 18:57:56 -04:00
|
|
|
name=vehicle + '_libs',
|
2017-02-03 00:18:27 -04:00
|
|
|
ap_vehicle=vehicle,
|
|
|
|
ap_libraries=bld.ap_common_vehicle_libraries() + [
|
2015-12-30 18:57:56 -04:00
|
|
|
'AC_AttitudeControl',
|
|
|
|
'AC_WPNav',
|
|
|
|
'AP_Camera',
|
|
|
|
'AP_InertialNav',
|
2016-03-12 11:14:55 -04:00
|
|
|
'AP_JSButton',
|
2017-02-07 15:43:41 -04:00
|
|
|
'AP_LeakDetector',
|
2015-12-30 18:57:56 -04:00
|
|
|
'AP_Motors',
|
|
|
|
'AP_RCMapper',
|
2016-12-04 11:42:33 -04:00
|
|
|
'AP_Beacon',
|
2017-02-27 17:12:56 -04:00
|
|
|
'AP_TemperatureSensor',
|
2018-11-26 08:21:35 -04:00
|
|
|
'AP_Arming',
|
2015-12-30 18:57:56 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2017-02-02 23:18:51 -04:00
|
|
|
bld.ap_program(
|
|
|
|
program_name='ardusub',
|
|
|
|
program_groups=['bin', 'sub'],
|
|
|
|
use=vehicle + '_libs',
|
2015-12-30 18:57:56 -04:00
|
|
|
)
|