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

View File

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