This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT: LWIP porting with CMSIS-RTOS

Part Number: TM4C1294NCPDT


Hello all,

Micro-controller : TM4C1294NCPDT

IP stack : LWIP (1.4.1)

I have used lwip raw api to send tcp and udp packets and it was successfull.

Now I  want to write an application which sends UDP packets from different threads using CMSIS-RTOS with lwip(socket API).

So, I was configuring the lwipopts.h, and i enabled NO_SYS as 0, LWIP_SOCKETS as 1 and LWIP_NETCONN as 1.

Enabling this gave a lot of errors from sys.h and sys_arch.h.

I have searched about the use of lwip with OS and i could get only information about lwip being used with FREErtos.

Have anyone tried using Lwip with CMSIS-RTOS. Can anyone give an idea about porting CMSIS-RTOS to be used with lwip?

I know that raw api is meant to be used without an OS, but is there a way that i can make it thread safe?

Thanks in advance.