2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 12:48:26 +08:00

artiq_flash: treat all variants ending in satellite as such

This commit is contained in:
Robert Jördens 2018-08-29 17:33:05 +00:00
parent fbf05db5ab
commit b58ec2d78e

View File

@ -344,7 +344,7 @@ def main():
storage_img = args.storage
programmer.write_binary(*config["storage"], storage_img)
elif action == "firmware":
if variant == "satellite":
if variant.endswith("satellite"):
firmware = "satman"
else:
firmware = "runtime"