From 86c027e9c5173dba9a8e42db59296112170a2b3d Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 4 Jul 2017 18:55:38 +0000 Subject: [PATCH] artiq_flash: don't require binaries to merely restart FPGA. --- artiq/frontend/artiq_flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_flash.py b/artiq/frontend/artiq_flash.py index 19bd3f9c7..819c2c8a1 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -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))