forked from M-Labs/artiq
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,8 +424,9 @@ 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":
|
||||||
rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit")
|
if variant != "simplesatellite" and variant != "master":
|
||||||
programmer.load(rtm_gateware_bit, 0)
|
rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit")
|
||||||
|
programmer.load(rtm_gateware_bit, 0)
|
||||||
gateware_bit = artifact_path(variant_dir, "gateware", "top.bit")
|
gateware_bit = artifact_path(variant_dir, "gateware", "top.bit")
|
||||||
programmer.load(gateware_bit, 1)
|
programmer.load(gateware_bit, 1)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue