From 93e7e2971f72ab0a15fae28037a5168427f7b906 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sun, 9 Nov 2025 10:34:05 +0200 Subject: [PATCH] fix(shuttle): backward compatibility ttsky25a mux macro names --- shuttle.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shuttle.py b/shuttle.py index e7030ed..04cf7ac 100644 --- a/shuttle.py +++ b/shuttle.py @@ -253,7 +253,11 @@ class ShuttleConfig: ) # Copy power gate / analog switch macros: - for mux_macro in self.tech.mux_macros: + mux_macros = self.tech.mux_macros + if self.config.get("id") == "ttsky25a": + # Backward compatibility for ttsky25a shuttle mux with older pg macros + mux_macros = [m.replace("_hp_", "_") for m in mux_macros] + for mux_macro in mux_macros: self.copy_mux_macro(mux_macro, os.path.basename(mux_macro)) # Copy logo & shuttle ID