sw_apps: echo_server: Add support for lwip141 stack
This patch updates the echo_server app to use the lwip141 stack. Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
This commit is contained in:
parent
00216b146d
commit
47d14c6a7b
2 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@ BEGIN OS
|
|||
END
|
||||
|
||||
BEGIN LIBRARY
|
||||
PARAMETER LIBRARY_NAME = lwip140
|
||||
PARAMETER LIBRARY_NAME = lwip141
|
||||
PARAMETER API_MODE = RAW_API
|
||||
PARAMETER dhcp_does_arp_check = true
|
||||
PARAMETER lwip_dhcp = true
|
||||
|
|
|
@ -140,8 +140,8 @@ proc swapp_is_supported_sw {} {
|
|||
# check for stdout being set
|
||||
check_stdout_sw;
|
||||
|
||||
# make sure lwip140 is available
|
||||
set librarylist [hsi::get_libs -filter "NAME==lwip140"];
|
||||
# make sure lwip141 is available
|
||||
set librarylist [hsi::get_libs -filter "NAME==lwip141"];
|
||||
|
||||
if { [llength $librarylist] == 0 } {
|
||||
error "This application requires lwIP library in the Board Support Package.";
|
||||
|
@ -306,8 +306,8 @@ proc swapp_generate {} {
|
|||
generate_stdout_config $fid;
|
||||
puts $fid "";
|
||||
|
||||
set use_softeth_on_zynq [common::get_property CONFIG.use_axieth_on_zynq [hsi::get_libs lwip140]];
|
||||
set use_ethernetlite_on_zynq [common::get_property CONFIG.use_emaclite_on_zynq [hsi::get_libs lwip140]];
|
||||
set use_softeth_on_zynq [common::get_property CONFIG.use_axieth_on_zynq [hsi::get_libs lwip141]];
|
||||
set use_ethernetlite_on_zynq [common::get_property CONFIG.use_emaclite_on_zynq [hsi::get_libs lwip141]];
|
||||
# figure out the emac baseaddr
|
||||
generate_emac_config $fid;
|
||||
puts $fid "";
|
||||
|
|
Loading…
Add table
Reference in a new issue