Browse Source

autotest: added --flash-storage option

master
Andrew Tridgell 6 years ago
parent
commit
0332057cbe
  1. 6
      Tools/autotest/sim_vehicle.py

6
Tools/autotest/sim_vehicle.py

@ -294,6 +294,9 @@ def do_build_waf(opts, frame_options): @@ -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", @@ -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)

Loading…
Cancel
Save