artiq_flash: RTM gateware is not required for master variant

This commit is contained in:
Sebastien Bourdeauducq 2018-06-25 18:28:55 +08:00
parent c750de2955
commit 811882943b
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ def main():
gateware_bin = convert_gateware(
artifact_path(variant, "gateware", "top.bit"))
programmer.write_binary(*config["gateware"], gateware_bin)
if args.target == "sayma":
if args.target == "sayma" and args.variant != "master":
rtm_gateware_bin = convert_gateware(
artifact_path("rtm_gateware", "rtm.bit"), header=True)
programmer.write_binary(*config["rtm_gateware"],