lwip_echo_server: Display error when selecting 32 bit A53 compiler

Update tcl to show an error message when lwip_echo_server is selected
from the sw apps when using 32 bit A53 compiler.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
Harini Katakam 2015-09-09 11:25:30 +05:30 committed by Nava kishore Manne
parent b92ef0b31e
commit 6d1cc7f29d

View file

@ -142,6 +142,19 @@ proc swapp_is_supported_sw {} {
# make sure we are using standalone OS
check_standalone_os;
set sw_processor [hsi::get_sw_processor]
set processor [hsi::get_cells -hier [common::get_property HW_INSTANCE $sw_processor]]
set processor_type [common::get_property IP_NAME $processor]
if {$processor_type == "psu_cortexa53"} {
set procdrv [hsi::get_sw_processor]
set compiler [::common::get_property CONFIG.compiler $procdrv]
if {[string compare -nocase $compiler "arm-none-eabi-gcc"] == 0} {
error "ERROR: lwip library does not support 32 bit A53 compiler";
return;
}
}
# check for stdout being set
check_stdout_sw;