I have SAME54 board with code derived from AtmelStart lwip + FreeRTOS.
I'm trying to send / receive UDP data in one task, and TCP data from another task.
It works fine much of the time, but I think lwIP memory gets screwy, and then I see problems, when the TCP and UDP tasks are calling the lwip memory functions at the same time.
So - basic question: a quick scan of my code shows that I'm using the following functions in the two tasks:
Is it OK to use these functions from multiple tasks?
Any suggestions on debugging this kind of issue in lwIP greatly appreciated.