From fc9d4c7bdc17b3965213f19bb7b75081174b1388 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 8 Mar 2019 19:36:35 +0800 Subject: [PATCH] artiq_flash: fix sayma master detection --- 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 24daa0fbb..ffdfdabed 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -339,7 +339,7 @@ def main(): gateware_bin = convert_gateware( artifact_path(variant, "gateware", "top.bit")) programmer.write_binary(*config["gateware"], gateware_bin) - if args.target == "sayma" and args.variant != "master": + if args.target == "sayma" and variant != "master": rtm_gateware_bin = convert_gateware( artifact_path("rtm_gateware", "rtm.bit"), header=True) programmer.write_binary(*config["rtm_gateware"],