autotest: add option to use simulated FRAM for storage
This commit is contained in:
parent
00c6308b25
commit
87df943f99
@ -671,6 +671,9 @@ def start_vehicle(binary, opts, stuff, spawns=None):
|
||||
if opts.flash_storage:
|
||||
cmd.append("--set-storage-flash-enabled 1")
|
||||
cmd.append("--set-storage-posix-enabled 0")
|
||||
elif opts.fram_storage:
|
||||
cmd.append("--set-storage-fram-enabled 1")
|
||||
cmd.append("--set-storage-posix-enabled 0")
|
||||
if opts.add_param_file:
|
||||
for file in opts.add_param_file:
|
||||
if not os.path.isfile(file):
|
||||
@ -1105,7 +1108,10 @@ group_sim.add_option("-Z", "--swarm",
|
||||
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")
|
||||
help="use flash storage emulation")
|
||||
group_sim.add_option("--fram-storage",
|
||||
action='store_true',
|
||||
help="use fram storage emulation")
|
||||
group_sim.add_option("--disable-ekf2",
|
||||
action='store_true',
|
||||
help="disable EKF2 in build")
|
||||
|
Loading…
Reference in New Issue
Block a user