You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
880 B
31 lines
880 B
#!/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', |
|
'AP_AdvancedFailsafe', # TODO for some reason compiling GCS_Common.cpp (in libraries) fails if this isn't included. |
|
], |
|
) |
|
|
|
bld.ap_program( |
|
program_name='blimp', |
|
program_groups=['bin', 'blimp'], |
|
use=vehicle + '_libs', |
|
defines=['FRAME_CONFIG=MULTICOPTER_FRAME'], |
|
)
|
|
|