From bcd061f141c481c8d077ecab9c8ba08feb754a2d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 8 Dec 2019 15:12:04 +0800 Subject: [PATCH] artiq_flash: RTM is a regular DRTIO satellite, can be used with all variants --- 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 7a59993da..6592270b0 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -421,13 +421,13 @@ def main(): programmer.write_binary(*config["rtm_gateware"], rtm_gateware_bin) elif action == "rtm_gateware": - if args.target == "sayma" and variant != "simplesatellite" and variant != "master": + if args.target == "sayma": rtm_gateware_bin = convert_gateware( artifact_path(rtm_variant_dir, "gateware", "top.bit"), header=True) programmer.write_binary(*config["rtm_gateware"], rtm_gateware_bin) else: - raise ValueError("No RTM board for this board and variant.") + raise ValueError("No RTM for this board") elif action == "bootloader": bootloader_bin = artifact_path(variant_dir, "software", "bootloader", "bootloader.bin") programmer.write_binary(*config["bootloader"], bootloader_bin)