diff --git a/ThirdParty/sw_services/lwip141/src/ChangeLog b/ThirdParty/sw_services/lwip141/src/ChangeLog index a6d0fa30..122ecc81 100644 --- a/ThirdParty/sw_services/lwip141/src/ChangeLog +++ b/ThirdParty/sw_services/lwip141/src/ChangeLog @@ -4,6 +4,7 @@ Change Log for lwip * Created a new version lwip141_v1_3. * Made changes in xemacpsif_dma.c to add required barriers. * Remove repeated sysarch protect and unprotect calls. + * Replace printf with xil_printf. 2015-09-09 * Fix compilation issues with the non hier axi eth design 2015-09-04 diff --git a/ThirdParty/sw_services/lwip141/src/contrib/ports/xilinx/include/arch/cc.h b/ThirdParty/sw_services/lwip141/src/contrib/ports/xilinx/include/arch/cc.h index fb1a24c5..5a5d811e 100644 --- a/ThirdParty/sw_services/lwip141/src/contrib/ports/xilinx/include/arch/cc.h +++ b/ThirdParty/sw_services/lwip141/src/contrib/ports/xilinx/include/arch/cc.h @@ -95,6 +95,6 @@ typedef unsigned long mem_ptr_t; #define PACK_STRUCT_END #define LWIP_PLATFORM_ASSERT(x) -#define LWIP_PLATFORM_DIAG(x) do { printf x; } while(0) +#define LWIP_PLATFORM_DIAG(x) do { xil_printf x; } while(0) #endif /* __ARCH_CC_H__ */ diff --git a/ThirdParty/sw_services/lwip141/src/contrib/ports/xilinx/netif/xadapter.c b/ThirdParty/sw_services/lwip141/src/contrib/ports/xilinx/netif/xadapter.c index 2eb79477..e0eed40f 100644 --- a/ThirdParty/sw_services/lwip141/src/contrib/ports/xilinx/netif/xadapter.c +++ b/ThirdParty/sw_services/lwip141/src/contrib/ports/xilinx/netif/xadapter.c @@ -176,7 +176,7 @@ xemac_add(struct netif *netif, #endif #endif default: - printf("unable to determine type of EMAC with baseaddress 0x%08x\r\n", + xil_printf("unable to determine type of EMAC with baseaddress 0x%08x\r\n", mac_baseaddr); return NULL; }