|
|
|
@ -34,8 +34,15 @@ def build(bld):
@@ -34,8 +34,15 @@ def build(bld):
|
|
|
|
|
use='mavlink', |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
frames = ( |
|
|
|
|
'quad', 'tri', 'hexa', 'y6', 'octa', 'octa-quad', 'heli', 'single', |
|
|
|
|
'coax', |
|
|
|
|
) |
|
|
|
|
for frame in frames: |
|
|
|
|
frame_config = frame.upper().replace('-', '_') + '_FRAME' |
|
|
|
|
bld.ap_program( |
|
|
|
|
program_name='arducopter', |
|
|
|
|
program_name='arducopter-%s' % frame, |
|
|
|
|
program_groups=['bin', 'copter'], |
|
|
|
|
use=vehicle + '_libs', |
|
|
|
|
defines=['FRAME_CONFIG=%s' % frame_config], |
|
|
|
|
) |
|
|
|
|