Something you could try is to pinpoint what is causing the problem by disabling optimizations per function in this file. This would give you a better view of what might be causing the issue, and where you might have to add some extra delay.

Regards,
Johan

On 2019-12-12 07:51, tomek wilkxt wrote:
Hi
Propably you have some delay time in connection function, when you
turn on optimization, this run faster

śr., 11 gru 2019 o 17:36 mav <[email protected]> napisał(a):

Hi, all!

I have a problem with lwip 2.0.3. I am switching on optimization of whole project to gcc -O2 option and I am getting into connection problem (cannot establish socket connection over PPPoS). When I turn off the optimization for vj.c only (use -Og) or when I disable VJ (#define VJ_SUPPORT 0), the
problem disappears.

What may be the problem?

Artem



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to