lwip raw api + freertos

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lwip raw api + freertos

925 Views
gionny
Contributor II

Hi all, I need to build a TCP echo server application using the lwip libraries.

I use i.MX RT1064 Evaluation Kit and MCUxpresso.

I started with the evkmimxrt1064_lwip_tcpecho_bm and evkmimxrt1064_lwip_tcpecho_freertos SDK examples. Perfect and working. But the _bm version, which uses the RAW API, is 30 times faster.

I tried to merge the two projects.

The idea is to have FreeRTOS and dedicate a task to LwIP and the TCP server working with callbacks.
I could not. Anyone have a working basic example?

Thanks,

Gionatha

0 Kudos
1 Reply

884 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Gionatha

 

I would suggest you refer to below link,  some discussions about using raw API with FreeRTOS.

https://lists.gnu.org/archive/html/lwip-users/2009-03/msg00119.html

 

Regards

Daniel

0 Kudos