cancel
Showing results for 
Search instead for 
Did you mean: 

LwIP with Threadx

potatobandit
Associate III

From my research, I've read that LwIP is written with FreeRTOS, but can be altered to support any OS. Since ST has made an effort to support/encourage LwIP and ThreadX, are there any resources/examples that we can reference?

I am doing my evaluation with the STM32H753ZI and I want to utilize LwIP and ThreadX. 

I have played with the STCubeH7 LwIP examples on GitHub, but again, none are with ThreadX. If someone could also point me to a tutorial or documentation that explains the different components LwIP needs, that would also be helpful. As I've noticed some examples have different req files that the use needs to provide: ethernetif.h/c, app_ethernet.h/c, and net_conn.h/c, ethernet_perf.h, etc.

2 REPLIES 2
mbarg.1
Associate III

I would avoid mixing apples with tomatoes ..

USE NetX and it will work - more or less, you will soon find that there are a lot of problems with it and with examples.

LwIP calls several functons that are not present in ThreadX - you have to re-write most of the code - and ThreadX enforces many rules that are broken by LwIP code.

Ethernet is a high bandwith device, require near real time performances or system will randomly crash.

Choose your ecosystem and stay consistent with it.

In my experience, AZRTOS is far more reliable than FreeRtos and easier to use.

NetX is not yet ready for prime time, LwIP even worse.

Let us know your experience. 

potatobandit
Associate III

Thank you for your response. I agree, staying within our chosen ecosystem is a better path to sanity.
This exploration is stemming from an interest in using embeddedRTPS. This library is built on LwIP and FreeRTOS, but our team was hoping to use AZRTOS.

Do you happen to know if AZRTOS/ThreadX has its own RTPS solution/library that I could explore?