From 0b376f1f14fb26849237b6ac6b5498bfc211b097 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 20 Mar 2019 13:36:41 +1100 Subject: [PATCH] Tools: autotest: add --tonealarm option to sim_vehicle.py --- Tools/autotest/sim_vehicle.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Tools/autotest/sim_vehicle.py b/Tools/autotest/sim_vehicle.py index 5e1e5c72fc..996203b619 100755 --- a/Tools/autotest/sim_vehicle.py +++ b/Tools/autotest/sim_vehicle.py @@ -294,6 +294,9 @@ def do_build_waf(opts, frame_options): if opts.OSD: cmd_configure.append("--enable-sfml") + if opts.tonealarm: + cmd_configure.append("--enable-sfml-audio") + if opts.flash_storage: cmd_configure.append("--sitl-flash-storage") @@ -897,6 +900,11 @@ group_sim.add_option("", "--osd", dest='OSD', default=False, help="Enable SITL OSD") +group_sim.add_option("", "--tonealarm", + action='store_true', + dest='tonealarm', + default=False, + help="Enable SITL ToneAlarm") group_sim.add_option("", "--add-param-file", type='string', default=None,