-
Notifications
You must be signed in to change notification settings - Fork 0
/
wscript
49 lines (46 loc) · 1.24 KB
/
wscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/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_PrecLand',
'AC_Sprayer',
'AC_Autorotation',
'AC_WPNav',
'AP_Camera',
'AP_IRLock',
'AP_InertialNav',
'AP_Motors',
'AP_RCMapper',
'AP_Avoidance',
'AP_AdvancedFailsafe',
'AP_SmartRTL',
'AP_Beacon',
'AP_Arming',
'AP_WheelEncoder',
'AP_Winch',
'AP_Follow',
'AP_LTM_Telem',
'AP_Devo_Telem',
'AP_OSD',
'AC_AutoTune',
'AP_KDECAN',
],
)
bld.ap_program(
program_name='arducopter',
program_groups=['bin', 'copter'],
use=vehicle + '_libs',
defines=['FRAME_CONFIG=MULTICOPTER_FRAME'],
)
bld.ap_program(
program_name='arducopter-heli',
program_groups=['bin', 'heli'],
use=vehicle + '_libs',
defines=['FRAME_CONFIG=HELI_FRAME'],
)