adi_project_xilinx: Add env var

add ADI_DISABLE_MESSAGE_SUPPRESION which disables
adi_xilinx_msg.tcl

projects/scripts/adi_project_xilinx.tcl
main
Sergiu Arpadi 2020-12-22 12:48:11 +00:00 committed by sarpadi
parent e252d538c2
commit c54552d823
1 changed files with 4 additions and 1 deletions

View File

@ -184,7 +184,10 @@ proc adi_project_create {project_name mode parameter_list device {board "not-app
update_ip_catalog
## Load custom message severity definitions
source $ad_hdl_dir/projects/scripts/adi_xilinx_msg.tcl
if {![info exists ::env(ADI_DISABLE_MESSAGE_SUPPRESION)]} {
source $ad_hdl_dir/projects/scripts/adi_xilinx_msg.tcl
}
## In Vivado there is a limit for the number of warnings and errors which are
## displayed by the tool for a particular error or warning; the default value