# UDP lpc17xx port missing drivers

**URL:** <https://forums.freertos.org/t/udp-lpc17xx-port-missing-drivers/5808>\
**Category:** Kernel\
**Created:** [February 27, 2016, 10:02pm UTC](https://forums.freertos.org/t/udp-lpc17xx-port-missing-drivers/5808 "2016-02-27T22:02:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 27, 2016, 10:02pm UTC](https://forums.freertos.org/t/udp-lpc17xx-port-missing-drivers/5808/1 "2016-02-27T22:02:57Z")

</div>

**[patric11](https://sourceforge.net/u/patric11/)** wrote on [Saturday, February 27, 2016](https://sourceforge.net/p/freertos/discussion/382005/thread/97df94b9/#426a):

Dear all,

I am trying to get the UDP port for lpc17xx to work. I am using the NetworkInterface.c from:  
FreeRTOSV8.2.1\FreeRTOS-Plus\Source\FreeRTOS-Plus-UDP\portable\NetworkInterface\LPC17xx  
However NetworkInterface.c contains external references to  
EMAC\_SetNextPacketToSend  
EMAC\_StartTransmitNextBuffer  
EMAC\_NextPacketToRead

These EMAC functions are NOT defined in the lpc17xx CMSIS driver lpc17xx\_emac.h. They ARE available in the lpc18xx\_emac.h.

Can anyone advise?

Thx alot,

Patric

---

<div class="post-metadata">

**Author:** ![htibosch](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/htibosch/32/62_2.png) [@htibosch](https://forums.freertos.org/u/htibosch)\
**Post date:** [February 28, 2016, 5:09am UTC](https://forums.freertos.org/t/udp-lpc17xx-port-missing-drivers/5808/2 "2016-02-28T05:09:36Z")

</div>

**[heinbali01](https://sourceforge.net/u/heinbali01/)** wrote on [Sunday, February 28, 2016](https://sourceforge.net/p/freertos/discussion/382005/thread/97df94b9/#d2a6):

Salut Patric,

[FreeRTOS+TCP](http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/index.html) is the successor of the FreeRTOS-Plus-UDP that you are using. And as the name says, it also includes the TCP protocol.  
The TCP code will only be included if `ipconfigUSE_TCP` is defined.

There is an unpublished FreeRTOS+TCP driver for LPC18xx, but unfortunately (AFAIK) there is no port for LPC17xx yet.

What you can do is the following: drop an email ( to “h.tibosch” at the domain “[freertos.org](http://freertos.org)” ), and I will send you the current LPC18xx driver for +TCP. It shouldn’t be too difficult to get that working for a LPC17xx 🙂

Regards.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 28, 2016, 10:22am UTC](https://forums.freertos.org/t/udp-lpc17xx-port-missing-drivers/5808/3 "2016-02-28T10:22:54Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Sunday, February 28, 2016](https://sourceforge.net/p/freertos/discussion/382005/thread/97df94b9/#d2a6/f29c):

Grep’ing the files I can find the functions implemented in  
\FreeRTOS-Plus\Source\FreeRTOS-Plus-UDP\portable\NetworkInterface\LPC18xx\Using\_CMSISv2p10\_LPC18xx\_DriverLib\lpc18xx\_emac.c.

Regards.
