From 1bc5d44a7c0139044d96695f1043309439d2d313 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 6 Oct 2019 13:15:50 +0800 Subject: [PATCH] artiq_flash: do not flash RTM gateware on Sayma variants that don't need it --- artiq/frontend/artiq_flash.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_flash.py b/artiq/frontend/artiq_flash.py index 55466227e..86c1ff650 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -424,8 +424,9 @@ def main(): programmer.write_binary(*config["firmware"], firmware_fbi) elif action == "load": if args.target == "sayma": - rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit") - programmer.load(rtm_gateware_bit, 0) + if variant != "simplesatellite" and variant != "master": + rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit") + programmer.load(rtm_gateware_bit, 0) gateware_bit = artifact_path(variant_dir, "gateware", "top.bit") programmer.load(gateware_bit, 1) else: