From 2e65574c5f0ed1e564169ca391a4a2cbf391e843 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Thu, 10 Mar 2022 15:23:20 +0800 Subject: [PATCH] artiq_flash: fix satman fw for satellite1 etc boards --- artiq/frontend/artiq_flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_flash.py b/artiq/frontend/artiq_flash.py index 2712a43e7..dd3120666 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -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"