mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-12 09:33:59 -03:00
autotest: added --flash-storage option
This commit is contained in:
parent
1f28994bae
commit
0332057cbe
@ -294,6 +294,9 @@ def do_build_waf(opts, frame_options):
|
|||||||
if opts.OSD:
|
if opts.OSD:
|
||||||
cmd_configure.append("--enable-sfml")
|
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]
|
pieces = [shlex.split(x) for x in opts.waf_configure_args]
|
||||||
for piece in pieces:
|
for piece in pieces:
|
||||||
cmd_configure.extend(piece)
|
cmd_configure.extend(piece)
|
||||||
@ -907,6 +910,9 @@ group_sim.add_option("-Z", "--swarm",
|
|||||||
type='string',
|
type='string',
|
||||||
default=None,
|
default=None,
|
||||||
help="Specify path of swarminit.txt for shifting spawn location")
|
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)
|
parser.add_option_group(group_sim)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user