[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwipopts questions (updating to 1.4.1 from 1.3.2)
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] lwipopts questions (updating to 1.4.1 from 1.3.2) |
Date: |
Wed, 2 Apr 2014 12:04:57 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
signature.asc
Description: Digital signature