1

Well, my question is to ask how can i add the lwip library to the tool Xilinx SDK to use it in Embedded linux environment. I tried a lot but always debug problems are there. I added this library for example lwip-2.0.2 from the link http://download.savannah.nongnu.org/releases/lwip/

currently i have a Zybo board based on Zynq 7010 and i want to develop an application which can use the protocol TCP/IP.

I looked around a lot but i am not getting the right way to be able to use the lwip stack.

Thanks for your suggestions

Abdulkarim
  • 15
  • 6

1 Answers1

0

LWIP is generally used for bare metal firmware refer this link

When Zynq is running petalinux, you can directly use Linux POSIX TCP/IP stack. E.g TCP Server/Client Linux code

You can select Linux OS in OS Platform and develop Linux application in Xilinx SDK. Linux application using SDK

  • Thanks a lot for your answer. I am trying your answer. But the connection between the PC and the board can not be established yet. As it works, i will let you know? – Abdulkarim Oct 25 '18 at 11:25
  • @A.S. Sure. Could you tell what exactly is happening? –  Oct 25 '18 at 11:34
  • thanks a lot for your answer. Well the Ethernet was not reachable and there should be a work around in Petalinux. Now i can not ping the board on Linux host but on Windows host it works :) – Abdulkarim Oct 26 '18 at 08:49
  • now it works also on linux host. The Ethernet must be configured :) – Abdulkarim Oct 26 '18 at 09:07