artiq_flash: do not flash RTM gateware on Sayma variants that don't need it

This commit is contained in:
Sebastien Bourdeauducq 2019-10-06 13:15:50 +08:00
parent bb5ff46f7d
commit 1bc5d44a7c
1 changed files with 3 additions and 2 deletions

View File

@ -424,6 +424,7 @@ def main():
programmer.write_binary(*config["firmware"], firmware_fbi)
elif action == "load":
if args.target == "sayma":
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")