61f0e6cd2bcec41e52d9aacb144426a852b37931
Root cause (2 bugs): 1. check_zynq_jtag() used config.vitis_path which no longer exists (config now uses xilinx_path) → always got empty path → 'Vivado not found' 2. _get_vivado_path() only checked hardcoded Linux paths, no version scanning, no .bat support on Windows Fix: - Added get_vivado_path() in vitis_checker.py (consistent with get_xsct_path, get_program_flash_path, etc.) - Uses _find_executable() shared logic: scans Vivado/*/bin + Vitis/*/bin, picks newest version, supports .bat on Windows - zynq_checker.py now uses get_vivado_path() + build_tool_command() for proper environment setup (settings64 sourcing on Linux) - Removed obsolete _get_vivado_path() + unused shutil import
Description
Zynq Bootloader下载验证工具
1.1 MiB
Languages
Python
99.4%
Batchfile
0.6%