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.

Lwip 1.3.2 and CCS v5.3.0

Other Parts Discussed in Thread: OMAPL138

Hello,

I'm working to a project with OMAPL138 and with starterware 1.10.03.03.
I built lwip 1.3.2, provided by starterware, with CCS v5.3.0 for the arm core (I enabled the option --gcc "Enable support for GCC extensions").
In debug mode compilation, the stack running correctly. The ping test with target is right.
But release mode compilation, the stack doesn't run correclty.

I added debug traces and assertions.
The following messages appear in release mode only :
Several "pbuf_free: p->ref > 0 in file pbuf.c line 563" and many "detected memp underflow!" and "detected memp overflow!"

A moment, I took it that the issue was due to the packed attribut which are not supported.
But it seems that is ok with the compiler version 5.0.1.

Thank you in advance for your help.
JB