forked from M-Labs/artiq
artiq_flash: fix satman fw for satellite1 etc boards
This commit is contained in:
parent
66ea41a81c
commit
2e65574c5f
|
@ -440,7 +440,7 @@ def main():
|
||||||
storage_img = args.storage
|
storage_img = args.storage
|
||||||
programmer.write_binary(*config["storage"], storage_img)
|
programmer.write_binary(*config["storage"], storage_img)
|
||||||
elif action == "firmware":
|
elif action == "firmware":
|
||||||
if variant.endswith("satellite"):
|
if "satellite" in variant:
|
||||||
firmware = "satman"
|
firmware = "satman"
|
||||||
else:
|
else:
|
||||||
firmware = "runtime"
|
firmware = "runtime"
|
||||||
|
|
Loading…
Reference in New Issue