lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: [lwip-users] using differnet protocols parallel


From: Çağlar AKYÜZ
Subject: Re: AW: [lwip-users] using differnet protocols parallel
Date: Sat, 24 Feb 2007 08:41:44 +0200
User-agent: Mozilla Thunderbird 1.5.0.9 (Windows/20061207)

Marcel M. wrote:
Which lwIP files must be ported for the STR912 system? For the STR912 i
have
got a complete ethernet library from ST.

Library? What kind of a library? I don't think it's a complete stack.

It's just a hardware library for the included ethernet controller (init,
send,...) and no TCP/IP Stack. Are there a documentation for lwIP, which
shows the needed modifications to port the lwIP-Stack to other hardware
systems? Or a list of files which must be modify?

I think things you mention in your next paragraph should be enough.

... FreeRTOS supplies sys_arch functions for threading support.(I
think this is the recommended way in lwIP) If you go for ST you have to
implement your own sys_arch functions. ...

There is a ported freertos for the STR912. So i don't need to implement own
sys_arch functions, or? I "just" have to port the lwIP-Stack ethernet
Interface for the STR9. Because the sys_arch functions, which lwIP use, are
freertos functions(when i use the ARM7 freertos/lwIP example on
www.freertos.org).
So i combine the STR9 freertos with the lwIP/freertos-port (with adapted
hardware ethernet interface)?! Or is that a completely wrong way?

Sure,that's the way. Just modifing FreeRTOS sys arch functions according to your processor will be enough. In fact, since FreeRTOS has a working port for STR912 it is not such a big deal. Besides you can contact FreeRTOS maintainer(Richard Barry) for help. I guess he will be happy to see a working copy of FreeRTOS + lwIP on a ST.


Regards
Marcel

Kind Regards,
Caglar AKYUZ




reply via email to

[Prev in Thread] Current Thread [Next in Thread]