forked from M-Labs/artiq
1
0
Fork 0

artiq_flash: fix satman fw for satellite1 etc boards

This commit is contained in:
mwojcik 2022-03-10 15:23:20 +08:00 committed by Sébastien Bourdeauducq
parent 66ea41a81c
commit 2e65574c5f
1 changed files with 1 additions and 1 deletions

View File

@ -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"