sync: SHANGHAI-U9 2026-08-19 硬编码审计:imx6_app REPO / fpga_ru --host 改读 skills_env.md(新增 SMOD_REPO_ROOT)

This commit is contained in:
bowei
2026-08-19 12:56:36 +08:00
parent 6535dd83d4
commit effa9361ac
2 changed files with 24 additions and 2 deletions
+4 -1
View File
@@ -52,7 +52,10 @@ def _env_lookup(key, default=None):
return default
REPO = r"E:\Xilinx_design\smod\SMOD_ATSC\my_exciter"
# Machine-relative: the exciter checkout lives wherever this box keeps it.
# Recorded as SMOD_REPO_ROOT in ~/skills_env.md; the literal stays as the
# fallback so existing boxes keep working without touching that file.
REPO = _env_lookup("SMOD_REPO_ROOT", r"E:\Xilinx_design\smod\SMOD_ATSC\my_exciter")
APP_SUBDIR = "imx6/src/atsc_app"
# No default: the VM's IP moves with the VMware segment, so a stale fallback would