ardupilot/Tools/Replay/wscript

32 lines
678 B
Plaintext
Raw Permalink Normal View History

2015-10-09 11:03:59 -03:00
#!/usr/bin/env python
# encoding: utf-8
import boards
2021-08-19 03:18:03 -03:00
def configure(cfg):
cfg.env.HAL_GCS_ENABLED = 0
2015-10-09 11:03:59 -03:00
def build(bld):
if isinstance(bld.get_board(), boards.chibios) and bld.env['WITH_FATFS'] != '1':
# we need a filesystem for replay
return
vehicle = bld.path.name
bld.ap_stlib(
name=vehicle + '_libs',
ap_vehicle=vehicle,
ap_libraries=bld.ap_common_vehicle_libraries() + [
2016-11-23 03:35:07 -04:00
'AP_Beacon',
'AP_Arming',
'AP_RCMapper',
2020-11-09 00:41:28 -04:00
'AP_OSD',
'AP_Avoidance',
],
)
bld.ap_program(
program_groups=['tool','replay'],
use=vehicle + '_libs',
2015-10-09 11:03:59 -03:00
)