Hi,

On Wed, Apr 02, 2014 at 07:19:42AM +0300, Dimax wrote:
> 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?

Probably, this is required if you are using pbuf_alloc() outside of lwIP 
thread, this is very likely in your Ethernet rx thread.


> 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.

Try and see :)


> 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.

Well, you should not do that when you are using 3rd party softwares.


Sylvain

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to