I have some questions regrading proper configuration of the lwip in lwipopts.h file.
I'm running lwip 1.4.1 on STM32F2x7 with FreeRTOS
1. SYS_LIGHTWEIGHT_PROT
When do I need this protection? Considering that lwip stack run in a single thread do I need inter-task protection?
2. CHECKSUM_GEN_ICMP
If my CPU has HW checksum should I set it to 0 (like GEN_IP) ? In former lwip-1.3.2 there was no such define so I do not know how to configure it properly.
P.S.
I had a problem due to a same name of the file timers.c in FreeRTOS and lwIP as my Makefile puts all output modules to the same directory.
I have just moved it to lwip_timers.c. Not a big deal but worth to think about it.