mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-12 12:03:35 +08:00
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)
|
||||
elif action == "load":
|
||||
if args.target == "sayma":
|
||||
rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit")
|
||||
programmer.load(rtm_gateware_bit, 0)
|
||||
if variant != "simplesatellite" and variant != "master":
|
||||
rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit")
|
||||
programmer.load(rtm_gateware_bit, 0)
|
||||
gateware_bit = artifact_path(variant_dir, "gateware", "top.bit")
|
||||
programmer.load(gateware_bit, 1)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user