2025-01-08 04:32 PM
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.
2025-01-08 10:48 PM
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.