From 4a03ca928d94156b0a075a465feed5f3cd1d9003 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 28 Nov 2019 17:38:29 +0800 Subject: [PATCH] artiq_flash: sayma fixes --- artiq/frontend/artiq_flash.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_flash.py b/artiq/frontend/artiq_flash.py index 495a3bd00..516f0493d 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -372,7 +372,7 @@ def main(): variant_dir = args.target + "-" + variant if args.target == "sayma": if args.srcbuild: - rtm_variant_dir = variant + rtm_variant_dir = "rtm" else: rtm_variant_dir = "sayma-rtm" @@ -414,7 +414,7 @@ def main(): gateware_bin = convert_gateware( artifact_path(variant_dir, "gateware", "top.bit")) programmer.write_binary(*config["gateware"], gateware_bin) - if args.target == "sayma" and variant != "master": + if args.target == "sayma" and variant != "simplesatellite" and variant != "master": rtm_gateware_bin = convert_gateware( artifact_path(rtm_variant_dir, "gateware", "top.bit"), header=True) programmer.write_binary(*config["rtm_gateware"],