mirror of https://github.com/m-labs/artiq.git
artiq_flash: do not flash RTM gateware on Sayma variants that don't need it
This commit is contained in:
parent
bb5ff46f7d
commit
1bc5d44a7c
|
@ -424,6 +424,7 @@ def main():
|
||||||
programmer.write_binary(*config["firmware"], firmware_fbi)
|
programmer.write_binary(*config["firmware"], firmware_fbi)
|
||||||
elif action == "load":
|
elif action == "load":
|
||||||
if args.target == "sayma":
|
if args.target == "sayma":
|
||||||
|
if variant != "simplesatellite" and variant != "master":
|
||||||
rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit")
|
rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit")
|
||||||
programmer.load(rtm_gateware_bit, 0)
|
programmer.load(rtm_gateware_bit, 0)
|
||||||
gateware_bit = artifact_path(variant_dir, "gateware", "top.bit")
|
gateware_bit = artifact_path(variant_dir, "gateware", "top.bit")
|
||||||
|
|
Loading…
Reference in New Issue