STM32H7, LWIP and multi threading done right ?
Hi,
The more I am reading LWIP documentation, the more I get confused.
The entire LWIP codebase is scattered with #ifdefs making it look like a minefield and nightmare regarding maintainability. At least that's what I feel, maybe it is because I have not worked with LWIP before.
I see @Piranha citing clearly documented issues regarding CubeH7 package and multi threading regarding LWIP.
So, I have taken some interest to implement the code, the best possible way possible by me, based on LWIP documentation. But the more I look into it, I get even more confused.
To begin with, https://www.nongnu.org/lwip/2_1_x/multithreading.html
"How to get threading done right"
Did a search within the CubeH7 package regarding "LWIP_MARK_TCPIP_THREAD"
Searching 42199 files for "LWIP_MARK_TCPIP_THREAD" (case sensitive)
0 matches
@Amel NASRI @Imen DAHMEN After a few night outs, I have a splitting headache trying to sort things out. It appears as though the Cube H7 package is not really stable as far as Ethernet/LWIP is concerned.
I cant find even a single example, which properly implements LWIP guidelines, not even LWIP has sample code to describe the stack usage properly. It looks like a very poor stack regarding proper documentation too, forget maintainability and readability.
@Piranha Can you please point to at least a single properly implemented LWIP sample application code base ?
If anyone else has any pointers on this subject, please chime in even if it is 2c. I am all ears.
Thanks,
Manu
