From 0332057cbeb6277477847f11c0b27441bb08703f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 Jan 2019 15:21:10 +1100 Subject: [PATCH] autotest: added --flash-storage option --- Tools/autotest/sim_vehicle.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tools/autotest/sim_vehicle.py b/Tools/autotest/sim_vehicle.py index 87fb706f21..a6286d6fa9 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.flash_storage: + cmd_configure.append("--sitl-flash-storage") + pieces = [shlex.split(x) for x in opts.waf_configure_args] for piece in pieces: cmd_configure.extend(piece) @@ -907,6 +910,9 @@ group_sim.add_option("-Z", "--swarm", type='string', default=None, help="Specify path of swarminit.txt for shifting spawn location") +group_sim.add_option("--flash-storage", + action='store_true', + help="enable use of flash storage emulation") parser.add_option_group(group_sim)