forked from M-Labs/artiq
1
0
Fork 0

artiq_flash: fix sayma master detection

This commit is contained in:
Sebastien Bourdeauducq 2019-03-08 19:36:35 +08:00
parent 25bcebd1f6
commit fc9d4c7bdc
1 changed files with 1 additions and 1 deletions

View File

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