2021-03-18 00:12:54 -03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
vehicle = bld.path.name
|
|
|
|
bld.ap_stlib(
|
|
|
|
name=vehicle + '_libs',
|
|
|
|
ap_vehicle=vehicle,
|
|
|
|
ap_libraries=bld.ap_common_vehicle_libraries() + [
|
|
|
|
'AC_AttitudeControl',
|
|
|
|
'AC_InputManager',
|
|
|
|
'AC_WPNav',
|
|
|
|
'AP_InertialNav',
|
|
|
|
'AP_RCMapper',
|
|
|
|
'AP_Avoidance',
|
|
|
|
'AP_Arming',
|
|
|
|
'AP_LTM_Telem',
|
|
|
|
'AP_Devo_Telem',
|
|
|
|
'AP_OSD',
|
|
|
|
'AP_KDECAN',
|
|
|
|
'AP_Beacon',
|
2021-03-29 11:43:54 -03:00
|
|
|
'AP_AdvancedFailsafe', # TODO for some reason compiling GCS_Common.cpp (in libraries) fails if this isn't included.
|
2021-03-18 00:12:54 -03:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
bld.ap_program(
|
|
|
|
program_name='blimp',
|
|
|
|
program_groups=['bin', 'blimp'],
|
|
|
|
use=vehicle + '_libs',
|
|
|
|
defines=['FRAME_CONFIG=MULTICOPTER_FRAME'],
|
|
|
|
)
|