Skip to content
Permalink
Browse files

artiq_flash: fix sayma master detection

  • Loading branch information...
sbourdeauducq committed Mar 8, 2019
1 parent 25bcebd commit fc9d4c7bdc17b3965213f19bb7b75081174b1388
Showing with 1 addition and 1 deletion.
  1. +1 −1 artiq/frontend/artiq_flash.py
@@ -339,7 +339,7 @@ def convert_gateware(bit_filename, header=False):
gateware_bin = convert_gateware(
artifact_path(variant, "gateware", "top.bit"))
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(
artifact_path("rtm_gateware", "rtm.bit"), header=True)
programmer.write_binary(*config["rtm_gateware"],

0 comments on commit fc9d4c7

Please sign in to comment.
You can’t perform that action at this time.