refactor(platform/xilinx): improve print message output

This commit is contained in:
Gatsby
2024-10-29 14:30:07 +08:00
parent 47bb9119dd
commit ead5e96c13
+3 -3
View File
@@ -37,10 +37,10 @@ set /a lowest_vitis_version=20192
REM Determine the correct settings.bat path based on the Xilinx version and user path
if %version_number% lss %lowest_vitis_version% (
echo Setting up environment for Xilinx SDK.
echo Setting up environment for Xilinx SDK %xilinx_version%.
set settings_bat=%xilinx_path%\SDK\%xilinx_version%\settings64.bat
) else (
echo Setting up environment for Xilinx Vitis.
echo Setting up environment for Xilinx Vitis %xilinx_version%.
set settings_bat=%xilinx_path%\Vitis\%xilinx_version%\settings64.bat
)
@@ -54,7 +54,7 @@ if not exist "%settings_bat%" (
REM Call the settings.bat file to set up the environment
call "%settings_bat%"
if "%ERRORLEVEL%" neq "0" (
echo Error: Failed to source "%settings_bat%".
echo Error: Failed to call "%settings_bat%"
exit /b 1
)