mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
artiq_flash: don't require binaries to merely restart FPGA.
This commit is contained in:
parent
ee1d5dbccb
commit
86c027e9c5
@ -77,7 +77,7 @@ def main():
|
||||
if opts.dir is None:
|
||||
opts.dir = os.path.join(artiq_dir, "binaries",
|
||||
"{}-{}".format(opts.target, opts.adapter))
|
||||
if not os.path.exists(opts.dir):
|
||||
if not os.path.exists(opts.dir) and opts.action != ["start"]:
|
||||
raise SystemExit("Binaries directory '{}' does not exist"
|
||||
.format(opts.dir))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user