Zynq FreeRTOS-Plus-UDP

raymadigan wrote on Thursday, October 06, 2016:

I was looking at the source tree this morning as I was halfway done building the FreeRTOS-Labs Zynq Demo for TCP. The demo includes many good technologies but all I really need is TCP/UDP connectivity. My usual practice is to build the full demo for the Zynq and then remove the FAT/FTP/HTTP/CLI functionality.

I saw this new functionality and wonder if I can use it to get right to the functionality I want. The issue is it doesn’t have the Zynq NetworkInterface directory. Can I use this UDP functionality with the Zynq Network inerface from the FreeRTOS labs contribution? It would save me a pile of work.

rtel wrote on Saturday, October 08, 2016:

First - apologies for the delay in your post appearing. It was
unfortunate enough to be the one in a hundred that randomly got put into
moderation, even though moderation is switched off.

I was looking at the source tree this morning as I was halfway done
building the FreeRTOS-Labs Zynq Demo for TCP. The demo includes many
good technologies but all I really need is TCP/UDP connectivity.

Do you mean you just need TCP/UDP connectivity without any of the other
bells and whistles?

My
usual practice is to build the full demo for the Zynq and then remove
the FAT/FTP/HTTP/CLI functionality.

Which would seem reasonable.

I saw this new functionality and wonder if I can use it to get right to
the functionality I want.

Um, which new functionality?

The issue is it doesn’t have the Zynq
NetworkInterface directory. Can I use this UDP functionality with the
Zynq Network inerface from the FreeRTOS labs contribution? It would save
me a pile of work.

Sorry - I’m confused. Are you talking about the older FreeRTOS+UDP
stack found in the FreeRTOS download, Rather than the newer FreeRTOS+TCP
stack found in the labs download? If so, I would not recommend doing
that as the interface is not going to be compatible - it could be done
for sure but would require some effort. If all you need is UDP then you
can set ipconfigUSE_TCP to 0 in the FreeRTOSIPConfig.h header file. The
Zynq demo won’t build if you do that, but you can strip out all the
example code and just start with the UDP command console, which has no
TCP dependences.