fix: open_hw_manager→open_hw for 2018.3 batch mode compat; revert console=True
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ exe = EXE(
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=False, # GUI only, no terminal window
|
||||
console=True, # show console for terminal log output
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
|
||||
@@ -271,7 +271,7 @@ def _program_with_vivado(
|
||||
callback("progress", "Using Vivado Hardware Manager...")
|
||||
|
||||
tcl_content = f"""
|
||||
open_hw_manager
|
||||
open_hw
|
||||
connect_hw_server
|
||||
open_hw_target
|
||||
current_hw_device [lindex [get_hw_devices] 0]
|
||||
|
||||
+1
-1
@@ -257,7 +257,7 @@ def _extract_relevant(output: str) -> str:
|
||||
def _build_jtag_query_tcl() -> str:
|
||||
"""Build Vivado TCL script file for JTAG device enumeration."""
|
||||
content = """\
|
||||
open_hw_manager
|
||||
open_hw
|
||||
connect_hw_server
|
||||
open_hw_target
|
||||
puts "===JTAG_START==="
|
||||
|
||||
Reference in New Issue
Block a user